DisplayUnit: ChartAxisDisplayUnit;
The DisplayUnit property sets tick mark interval for an axis.
For example, if the values are within the range from 10 000 to 90 000, values from 10 to 90 can be displayed if the user sets thousands as measurement units.
When setting a tick mark interval, the tick mark interval 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 tick mark interval for the Y axis is 1000. By default, the tick mark interval caption is displayed next to the axis.
See also: