add SeriesEventMarker on point click

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Arction_LasseP

Posts: 5
Joined: Sat Aug 11, 2018 2:53 pm

add SeriesEventMarker on point click

Post by abol810 » Mon Jan 14, 2019 10:48 am

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)?

Posts: 393
Joined: Mon Mar 14, 2016 9:22 am

Re: add SeriesEventMarker on point click

Post by ArctionKestutis » Tue Jan 15, 2019 2:31 pm

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

Code: Select all

and some of LineSeries solving method, e.g.

Code: Select all

All the best.