How can i achieve this?
How do i get the clicked point x value?(PointLineSeries);
How do I even add a click event for points(or a series to get the clicked point on that series)?
add SeriesEventMarker on point click
Moderator: Queue Moderators
-
- Posts: 555
- Joined: Mon Mar 14, 2016 9:22 am
Re: add SeriesEventMarker on point click
Please check our Demo App's groups of XY examples "Cursor tracking". Those will provide with ideas how it could be engineered.
In general, you can use methods to convert screen coordinates to Axis' values
and some of LineSeries solving method, e.g.
All the best.
In general, you can use methods to convert screen coordinates to Axis' values
Code: Select all
axis.CoordToValue()
Code: Select all
series.SolveYValueAtXValue(x)