Font: IGxFont;
The Font property determines parameters of font used for axes.
This example assumes that there is the ChartAxis object of the IChartAxis type.
Sub SetFont;
Var
Font: IGxFont;
ChartAxis: IChartAxis;
Begin
Font := New GxFont.Create("Arial Black", 10, 3 As GxFontStyle, 3 As GxUnit);
ChartAxis.Font := Font;
End Sub SetFont;
After executing the example, the chart font parameters on the axis change to Arial Black with the size 10, the Bold Italic style (bold italic) and the Point units of measurement (a point is used a unit of measurement (1/72")).
See also: