Picked up the new SP which has fixed the panning issue thanks.
However, I notice that if I zoom twice (with animation on), then my settings of UseRangeInflateWhenZoomed or use UseSeriesInflateWhenZoomed have been lost the second time I zoom. Also, what is the difference between these two settings and when should each be used? There's nothing in the diocumentation that I can find about them
Thanks
Kevin
Thanks guys. Excellent service as usual!
Now, if only you'd tell us what was in each SP.
Hi Kevin,
We were able locate / fix this problem and will publish a SP very soon...
Best Regards,Nevron Support Team
Not sure what you mean. All I have is:
chart.Axis(StandardAxis.PrimaryY).UseSeriesInflateWhenZoomed = true;
Zoom the chart, then pan - the y-range expands as I pan.If I set UseSeriesInflateWhenZoomed to false, then panning behaves correctly.
I already have a CustomDataPanTool because I want to pan using the Shift key, so I have fixed the issue by using GetActiveChart(), turning off UseSeriesInflateWhenZoomed in the BeginDrag method, and back on again in the EndDrag method (keeping note of the settings on each axis so they can be restored).
It would be good if thsi was done automatically. I assume it already is when zooming?
Hi Kevin,Can you post the code you use to automate the control - as we could not replicate it with the examples. It's probably a result of configuration which as you suggest continuously expands the axis rage...
As you pan, instead of the axis scale covering the same range, the axis scale continuously expands until it reaches its full extent.
I presume this is because the inflation is continuously being applied. Is this a bug that can be fixed, without me overriding the panning class?