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.
The latest feature I’d like to add to my SciChart-enabled app is a measurement cursor. In measuring mode, the user would drag the mouse along a region of the chart, and the x or y (or both) distances would be displayed, ideally just above the mouse cursor. So far I have created a “zoomless RubberBandXyModifier” which shows me where I’m dragging the cursor (but does not result in a zoom operation), but I’m not sure of the best way to display my results. Is there a built-in feature (built in to either SciChart or WPF in general) which will allow me to display text as part of (or just above) the cursor? Do I need to implement an Adorner? I’d love to know if you have some advice for this.
I assume you’ve created a Custom ChartModifierBase derived class for this, am I right? If so then you can simply place items on the base.ModifierSurface, which is a Canvas (WPF canvas).
You can place any UI element on there. Just be assured to override the methods OnAttached, OnDetached and clear the canvas on detached or some other user input e.g. right click.
Let me know if you get stuck.
Please login first to submit.