SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components
I only want to move the RolloverModifier if the left mouse button is pressed and with Left and Right Keys?
Hi Daniel,
I’m afraid we don’t support moving the rollover line by key-press, but we do have a rich Custom ChartModifier API where you can create or customise your own ChartModifiers.
I recommend having a look at Custom ChartModifiers – Part 1 – Creating a Custom Rollover Modifier as well as the second part of this article Zooming In / Out on Key Presses as this may give some inspiration.
Alternatively, you may find it better to use our built in VerticalSliceModifier to display a ‘rollover line’ and then subscribe to key presses on the parent window to move it (update its position) instead of use a Rollover line.
Hope this helps. If you find a good solution, please post it below so it can help others!
Best regards,
Andrew
Please login first to submit.