SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
When putting a chart into a listbox, the listbox doesn’t detect if the chart is clicked.
How can i change this, or there is any workarround to it? because i need it to select the parent ListBoxItem.
The problem is that when you put an event listener on the chart it doesn’t know where it is in the list, and when you put it in the listbox it doesn’t see it at all.
PS: I attached an example project where this happens.
Thanks for your inquiry and for the sample project.
You can either select or interact with SciChartSurface. You can set IsHitTestVisible property on SciChartSurface to ‘False’. This will prevent it from receiving mouse events.
Please let me know if this helps.
Please login first to submit.