AxisYSec: IChartAxis;
The AxisYSec property enables the user to determine parameters of the secondary Y axis on a chart.
Use the IChartAxis interface to work with available parameters.
A secondary axis for a series needs to be specified on the chart. To specify a secondary axis on the chart, execute the command: 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: