Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
180
How to implement Tracking Ruler for a 2D (scatter) line chart?
posted

Hi,

As I know, Trackung Ruler has no native support at xamChart. I would like to implement it with this behaviour:

- It is a vertical line and moves left and right over the chart scene together with the clicked mouse button as dragging.

- If it meets a datapoint, the ValueX and ValueY should be retrieved and shown in special label controls.

I would be helpful for a proper approach to do it.

/Efim

  • 28496
    Offline posted

    you can probably achieve this using the MouseMove event combined with the HitTest method of the XamChart.  this is only speculation on my part, though, because I've never seen this attempted before.