Profile Picture

Panning does not work properly with axis.UseRangeInflateWhenZoomed

Posted By Kevin Harrison 11 Years Ago

Panning does not work properly with axis.UseRangeInflateWhenZoomed

Author
Message
Kevin Harrison
Posted 11 Years Ago
View Quick Profile
Supreme Being

Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 176, Visits: 1,865

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?

Thanks

Kevin



Nevron Support
Posted 11 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

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...



Best Regards,
Nevron Support Team



Kevin Harrison
Posted 11 Years Ago
View Quick Profile
Supreme Being

Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 176, Visits: 1,865

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?

Thanks

Kevin

 



Nevron Support
Posted 11 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

Hi Kevin,

We were able locate / fix this problem and will publish a SP very soon...



Best Regards,
Nevron Support Team



Kevin Harrison
Posted 11 Years Ago
View Quick Profile
Supreme Being

Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 176, Visits: 1,865

Thanks guys. Excellent service as usual!

Kevin

Now, if only you'd tell us what was in each SP.



Kevin Harrison
Posted 11 Years Ago
View Quick Profile
Supreme Being

Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 176, Visits: 1,865

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





Similar Topics


Reading This Topic