Profile Picture

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

Posted By Kiran Varanasi 6 Years Ago

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

Author
Message
Kiran Varanasi
Question Posted 6 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: 6 Years Ago
Posts: 0, Visits: 4
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?

Nevron Support
Posted 6 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Today @ 1:54 AM
Posts: 3,054, Visits: 4,009
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.

Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic