Pre loader

Get all x,y coordinate pairs that intersect with a particular vertical slice

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

0
0

What I need is a way to calculate all the y axis values for a series that loops back on itself. Think of a circle for example. See the modified attached sample that shows is three circles. currently, if a vertical slice intersects a circle in two points for a given verticle slice, only the first encountered point gets a tooltip callout. I’m sure there is a sample, but can’t find it.

I’d like to be able to get the callout of all points in the series with values at a given x value, interpolating as needed, interpolating as needed. (I.e. if I am a x= 0.5 on the unit circle I need the y values at 0.86 and -0.86 to be returned by hit testing.

(I am actually implementing an area under the curve tool where the user selects an x range and I need to calculate the area under the curve for the selected range. With a signal vs time trace, this is easy because you only have one y value for each x value and can use the integral of a piece-wise linear curve representing the select points.

It gets complicated when a single series can loop back on itself as in the example of a circle. Here I need to select all points for a selected range and then generate two linear piecewise curves that I can take the integral of each and subtract the lower from the upper to get the area between those curves.

Version
Latest
Images
  • You must to post comments
0
0

Hello Doug,

Unfortunately, HitTest API doesn’t provide this functionality at the moment.

Please open a public feature request on our website:
https://www.scichart.com/feedback-policy/

This will allow others to vote for this feature. Once there are enough votes we will consider adding the desired feature.

Best Regards,
Yuriy

  • 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