DisplayUnit: ChartAxisDisplayUnit;
The DisplayUnit property sets scale division for an axis.
For example if the values lie within the range from 10 000 to 90 000, values from 10 to 90 can be displayed if you set thousands as units of measurement.
When setting the scale unit, the unit caption is displayed next to the axis.
This example assumes that there is the Chart object of the IChart type.
Sub DisUn;
Var
Chart : IChart;
Begin
Chart.AxisY.DisplayUnit := ChartAxisDisplayUnit.Thousands;
End Sub DisUn;
After executing the example the scale unit for the Y axis is 1000. By default the scale unit title is displayed next to the axis.
See also: