SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
I’m working with FastBandRenderableSeries and I’ve got some questions:
1) Is there any method to make the area between the lines of FastBandRenderableSeries not visible for hit?
2) When I’m using HitTest method , like this selectedSeries.HitTest(e.MousePoint, true), it returns true of IsHit property, when we click on the line of FastBandRenderableSeries and on the area between lines. How can I detect that hit was made only on a line, not not an area ?(Maybe this question connected to the the first question)
Thanks in advance
If you take a look at the members on the HitTestInfo Struct (which is returned from BaseRenderableSeries.HitTest), you can see the HitTestPoint, which gives the location (in pixels) of the nearest X,Y data-point.
If your mouse point is more than say 5 pixels away from the HitTestPoint, you can safely say the user clicked the polygon, not the line.
Does it help?
Please login first to submit.