Pick curve (NPointSeries) with less accuracy of left mouse click.


https://www.nevron.com/Forum/Topic12363.aspx
Print Topic | Close Window

By Kiran Varanasi - 6 Years Ago
am using NChartControl in a winform application.  This have curve created from NPointSeries. 
Selecting the curve take multiple attempts as the selection has to be accurate. The HitTest method takes the location input to confirm if the chartelement selected is a data point. 
Is there a way to provide some kind of tolerance, so that user can pick the curve with slightly lesser accuracy of location?
By Nevron Support - 6 Years Ago
Hi Kiran,
You can perform hit test for all the points that surround the point in question and then return the most commonly returned chart element. Hope this helps - let us know if you meet any problems.