TChart.AdjustMinMax wrong for inverted axis
Posted: Thu Oct 29, 2015 7:44 am
Hi,
I am using TeeChart Pro 2013.09.131119 32-bit VCL in Delphi XE5.
I create a TChart with an inverted non-automatic left axis. Adding more series and I then need to reset the extents of the non-automatic axis. To get the extents of the data plotted so far I execute these two lines:
TargetAxis.Automatic:=True;
TargetAxis.AdjustMaxMin;
Then, left axis minimum is reported to be -99999, though the minimum data value is zero.
This error occurs only if the axis is inverted.
Is this a bug?
Regards
Toreba
I am using TeeChart Pro 2013.09.131119 32-bit VCL in Delphi XE5.
I create a TChart with an inverted non-automatic left axis. Adding more series and I then need to reset the extents of the non-automatic axis. To get the extents of the data plotted so far I execute these two lines:
TargetAxis.Automatic:=True;
TargetAxis.AdjustMaxMin;
Then, left axis minimum is reported to be -99999, though the minimum data value is zero.
This error occurs only if the axis is inverted.
Is this a bug?
Regards
Toreba