Group: Forum Members
Last Active: 8 Years Ago
Posts: 23,
Visits: 6
|
Hi folks, Im processing HitTest function for NLineSeries and want to distinguish what was clicked - point or line segment. For both cases result: var result = ChartControl.HitTest(e.X, e.Y); looks the same. Is there a way to know what was clicked actually - point marker or line segment?
|
Group: Forum Members
Last Active: 8 Years Ago
Posts: 23,
Visits: 6
|
I relized that I can calculate distance to series' points and use this information. Thanks)
|
Group: Forum Members
Last Active: 12 Years Ago
Posts: 3,
Visits: 1
|
I have the same problem and want to distinguish between the point indicator and a line segment. Would you (or a support representative) please further comment on this case?
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
Hi, The line series will record per data point information in the internal image map, so the control cannot distinguish between a marker and a line segment generated from a single data point. The easiest workaround is to use two separate series - line and point (which will render the markers).
Best Regards, Nevron Support Team
|