SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
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 Stackoverflow.com 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.
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.