CustomFormat: String;
The CustomFormat property enables the user to determine a custom format of values for chart axes.
This example assumes that there is the ChartAxis object of the IChartAxis type.
Sub CustomFormat;
Var
ChartAxis : IChartAxis;
Begin
ChartAxis.CustomFormat := "0,00";
End Sub CustomFormat;
After executing the example the values along the axis are displayed in numeric format with two decimal places.
See also: