We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Interpolation with Crosshair or Trackball

Hello everyone,

we are currently trying to figure out if the syncfusion chart control is the right choice for us.

We have some tricky requirements, I've looked at the docs and the demo applications, but I'm not sure if I'm missing something.

Is it posible to have the trackball show values between two points? (Interpolation) Currently the trackball snaps to exisiting values. What we want is similar to the crosshair function, but show all y-values inbetween the points, at the x position of the mouse, without the trackball snapping to the data points. That way we could interpolate the values inbetween.

I hope I was able to communitate our requirements, If not I can specify in detail.


1 Reply

MD Moneeshram Dhanabal Syncfusion Team February 10, 2023 10:19 AM UTC

Hi Nellinger,


We have validated your query and we'd want to let you know that when you move the track ball, it will only display the nearest data point. The data point in between is unpredictable.


The behaviour of the crosshair is independent of the series; by tapping or hovering the mouse over the chart, the appropriate value is shown as a tooltip in the axis.

Please refer the below UG document for further reference:

https://help.syncfusion.com/windowsforms/chart/runtime-features#interactive-features

https://help.syncfusion.com/windowsforms/chart/runtime-features#trackball

https://help.syncfusion.com/windowsforms/chart/runtime-features#crosshair


You must include the interpolated points in the series data if you want to display the interpolated Y-values; otherwise, they won't be visible when you move the mouse close to the in-between points.


Regards,

Moneeshram.


Loader.
Up arrow icon