AxisX: IChartAxis;
The AxisX property enables the user to determine various parameters of the X axis on a chart.
This example assumes that there is the Chart object of the IChart type. Use the IChartAxis interface to work with available parameters.
Sub Axis;
Var
Chart: IChart;
Begin
Chart.AxisX.FontColor := GxColor.FromName("Red");
End Sub Axis;
After executing the example the font of text along the X axis is changed to red.
See also: