Nevron Forum

Data point drag tool does not work correctly on zoomed charts

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

By Kevin Harrison 1 - Monday, May 11, 2015

The point dragging does not respect the range of the displayed axes. The point can be dragged outside the chart and the axis scale continues to change.
By Nevron Support - Tuesday, May 12, 2015

Hi Kevin,

We've just added a property called AllowDraggingOutsideAxisRange that allows you to control whether dragging is allowed outside the current axis ranges. It will appear in the next SP of the control.
By Kevin Harrison 1 - Tuesday, May 12, 2015

Thanks, but wouldn't this require me to set this property every time the chart zoom state is changed?
Also, the drag behaviour is different when the chart is zoomed, since the axis doesn't automatically rescale and the point can be dragged outside the chart area. Would it not be better to make the behaviours consistent?
By Nevron Support - Thursday, May 14, 2015

Hi Kevin,
The property will simply disable dragging of the point outside the current view range (there will be no need to set this property each time the range changes).
By Kevin Harrison 1 - Thursday, May 14, 2015

Sorry, you're completely missing the point. There is inconsistent behaviour dragging outside the chart axis ranges when the chart is zoomed and when it isn't. Try it and see. It looks like a bug to me.
Adding the property does not fix the bug. I want to drag outside the axis ranges but the drag behaviour after zooming is confusing at best, so I would only want to disable dragging outside the axis ranges when the chart is zoomed. Hence, I need to set the added property based upon the zoom state of the chart.
Why can't you fix the inconsistent behaviour?

By Nevron Support - Friday, May 15, 2015

Hi Kevin,

OK - we can implement that property as a mode where you can specify whether to enable the constraint regarding the axis ranges only when the chart is in zoomed state. Will that do the job?
By Kevin Harrison 1 - Monday, May 18, 2015

That would certainly help me thanks, but it still completely ignores the buggy behaviour.