Profile Picture

NHitTestResult incorrect after zoom

Posted By Jarrett Robertson 11 Years Ago
Author
Message
Jarrett Robertson
Posted 11 Years Ago
View Quick Profile
Junior Member

Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)

Group: Forum Members
Last Active: 11 Years Ago
Posts: 12, Visits: 1
I have implemented the out of the box NDataZoomTool and there are times I need to know whether or not the user has selected a data point from the series. If I am not zoomed in at all NHitTest works as expected. However if I zoom in at all it always returns ChartWall for the HitResult. My assumption is that it's testing the chart as though it wasn't zoomed or scaled at all. Is there something that I can set to allow the NHitTest to test what is actually visible on the screen at the time of the test?




Similar Topics


Reading This Topic