Data point drag tool does not work correctly on zoomed charts


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

By Kevin Harrison - 9 Years Ago
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 - 9 Years Ago
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 - 9 Years Ago
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 - 9 Years Ago
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 - 9 Years Ago

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 - 9 Years Ago
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 - 9 Years Ago
That would certainly help me thanks, but it still completely ignores the buggy behaviour.