Pre loader

ListBoxItem selection clicking on chart not working

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

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.

Thanks.

PS: I attached an example project where this happens.

Version
SciChart v5.4.0.12119
Attachments
  • You must to post comments
0
0

Hi Aleix,

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.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies