Panning does not work properly with axis.UseRangeInflateWhenZoomed


Panning does not work properly with axis.UseRangeInflateWhenZoomed
Author
Message
Kevin Harrison 1
Kevin Harrison 1
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
Posts: 176, Visits: 1.9K

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


Kevin Harrison 1
Kevin Harrison 1
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
Posts: 176, Visits: 1.9K

Thanks guys. Excellent service as usual!

Kevin

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


Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K

Hi Kevin,

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



Best Regards,
Nevron Support Team


Kevin Harrison 1
Kevin Harrison 1
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
Posts: 176, Visits: 1.9K

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
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K

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 1
Kevin Harrison 1
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
Posts: 176, Visits: 1.9K

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


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search