Pre loader

How to change CursorModifier Sensitivity for when to display ToolTip?

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

Answered
0
0

I am using SciChart in a WPF application. I have added the CursorModifier to the ModifierGroup. I find that it is difficult at times to land on the data point with the mouse in order for the ToolTip to display.

Is there a way to change the sensitivity for how close the mouse pointer must be in order for the ToolTip to display?

Thanks,
Dave

Version
Version 4
  • You must to post comments
Best Answer
0
1

Hi Dave,

It’s not possible to adjust the CursorModifier sensitivity, however, you can try changing some of the options for the CursorModifier.

For instance, if you set ShowTooltipOn.MouseLeftButtonDown, and CursorModifier.SnappingMode you should be able to achieve a usable combination for the CursorModifier to snap to data-series or point.

You can also play with these settings in our WPF Using CursorModifier example.

Best regards,
Andrew

Images
  • Dave Leach
    Andrew, thanks for your reply. I tried various combinations of ShowTooltipOn and SnappingMode and found only marginal improvement. But more interestingly I discovered that the tooltip will display values that are not part of the data set. Apparently the CursorModifier will generate interpolated values between two actual data points. Is there a way to turn off this feature?
  • Andrew Burnett-Thompson
    Yes there is, by setting CursorModifier.UseInterpolation = false. This property is default TRUE for the CursorModifier.
  • Dave Leach
    Thanks, that did the trick. Now the crosshair moves to the data point nearest the mouse cursor, making it easy to raise the tooltip to get the data value.
  • 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