Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
55
Multiselect in WPF Chart?
posted

Wondering if it's possible to select multiple data points such as on a bar chart, where I could highlight one to many bar charts and have an event recognize which data points were highlighted?  Thanks for the help.

Bill

Parents
No Data
Reply
  • 9836
    Verified Answer
    posted

    Another approach is to extend the DataPoint object with a custom attached property that can be used in styles, animation etc. For more details you can see the attached sample where I create IsSelected attached property for each datapoint and SelectedPoints collection for the XamChart.

    Let me know if you have any questions.

    MultiSelection.zip
Children
No Data