FontColor: IGxColor;
The FontColor property determines color of the font for chart axes text.
This example assumes that there is the ChartAxis object of the IChartAxis type.
Sub SetFontColor;
Var
FontColor : IGxColor;
ChartAxis : IChartAxis;
Begin
FontColor := New GxColor.CreateARGB( 255, 0, 0, 255);
ChartAxis.FontColor := FontColor;
End Sub SetFontColor;
After executing the example the font used for objects along the axis is changed to blue.
See also: