AxisYSec: IChartAxis;
The AxisYSec property enables a user to specify parameters of the additional Y axis.
Use the IChartAxis interface to work with available parameters.
A secondary axis for a series needs be specified on the chart. To specify a secondary axis on the chart, choose Chart.Series.Item(0).AtSecondaryAxis := True;
This example assumes that there is the Chart object of the IChart type.
Sub AxisYS;
Var
Chart: IChart;
Begin
Chart.AxisYSec.FontColor := GxColor.FromName("Blue");
End Sub AxisYS;
After executing the example the font color for the text along the additional Y axis is changed to blue.
See also: