Max: Double;
The Max property determines a maximum on an axis.
This example assumes that there is the ChartAxis object of the IChartAxis type.
Automatic maximum must not be calculated for the chart.
If required, the user can cancel calculation of automatic maximum by setting the IChartAxis.AutoMax property to False.
Sub Max;
Var
ChartAxis : IChartAxis;
Begin
ChartAxis.AutoMax := False;
ChartAxis.Max := 540;
End Sub Max;
After executing the example the maximum value on the axis is equal to 540.
See also: