SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.


We want to find YValue for a given Xvalue. If there is no exact matching point in the series, in order to interpolate it is required to get closest two points on left and right side of the given XValue. I tried to use IXyDataSeries.FindIndex with SearchMode.RoundDown and SearchMode.RoundUp. I’ve got two points from the left side. Please have a look at below image. Is this the expected behaviour?

  • You must to post comments

Hi there,

Thanks for your enquiry.
Sorry about the delay in answering! We have to handle lots of requests either here and via email, so it is easy to leave something unanswered.

Concerning your enquiry, we can suggest using IRenderableSeries.HitTest (Point, useInterpolation) or IRenderableSeries.HitTest (Point, hitTestRadius, useInterpolation). These should help as that is their primary function. And please pass any value as Y coordinate – this is the way RolloverModifier works.

Anyway, it’s quite strange and unexpected that you faced any troubles with FindIndex; it is well tested and should work properly.

Please take a look and let us know if this can be a solution for you.

Best regards,

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.