After updating to TeeChart 4.2025.2.22, my axes looses the automatic axis scaling.
The bug was introduced with Bug 2758.
In my project I use a lot of custom axes.
Some axes with automatic scaling:
Code: Select all
axis.Automatic = true
Code: Select all
axis.Automatic = false;
axis.Automatic.AutomaticMaximum=true;
Code: Select all
axis.Minimum = 0;
axis.Maximum = 100;
Code: Select all
// Deactivate zooming with mouse
this.TChart.Zoom.Direction = ZoomDirections.None;
...
// Only zoom horizontal
this.TChart.Zoom.ZoomRect(new Rectangle(newStartPos, 0, newEndPos - newStartPos, 0));
Even for the axes that have a fixed minimum and maximum, the minimum and maximum change after zooming.