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
- Dave Leach asked 8 years ago
- You must login to post comments
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
- Andrew Burnett-Thompson answered 8 years ago
-
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?
-
Yes there is, by setting CursorModifier.UseInterpolation = false. This property is default TRUE for the CursorModifier.
-
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 login to post comments
Please login first to submit.