DisplayUnitCaption: IChartCaption;
The DisplayUnitCaption property determines parameters of a title of a scale mark.
To work with available parameters, use the IChartCaption interface.
This example assumes that there is the Chart object of the IChart type.
Sub DisUnCap;
Var
Chart : IChart;
Begin
Chart.AxisY.DisplayUnitCaption.FontColor := GxColor.FromName("Red");
End Sub DisUnCap;
After executing the example the color of the text of the scale factor title is changed to red.
See also: