Nevron Forum

NHitTestResult incorrect after zoom

https://www.nevron.com/Forum/Topic7620.aspx

By Jarrett Robertson - Friday, March 22, 2013

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?
By Nevron Support - Friday, March 22, 2013

Hi Bruce,

We could not replicate this problem - what is the control version you currently use?

By Jarrett Robertson - Friday, March 22, 2013

The product version for the ChartControl = "12.8.2.12". If that's not what you are looking for please let me know.
By Nevron Support - Friday, March 29, 2013

Hi Bruce,

Please try with the latest version from our website - it is likely that this problem is fixed by later SPs. Let us know if the problem persists...

By Jarrett Robertson - Monday, April 1, 2013

That worked thank you!