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.
In the Knowledge Base, an article discusses a rollover modifier that utilises a vertical hit test to draw a vertical line at the cursor and highlight the nearest point: http://support.scichart.com/index.php?/Knowledgebase/Article/View/17235/32/custom-chartmodifiers—part-1—creating-a-custom-rollover-modifier
This is perfect for data which moves/is unique along the X axis (such as time series data).
How can I best replicate this modifier for data which moves/is unique along the Y axis? Drawing a horizontal line is easy, but there is no HorizontalSliceHitTest function.
Are you talking about a chart which has been rotated using our Flipped / Vertical Charts API? If so, then VerticalSliceHitTest will work in this case as well. Everything gets transformed by 90 degrees.
However, if you are looking for a Horizontal Slice hit-test then I’m afraid one doesn’t exist. The best I can recommend is to use our X-Y Hit-Test API and to search for the nearest X-value at corresponding Y in order to find the closest point.
Please login first to submit.