IChart.AxisYSec

Syntax

AxisYSec: IChartAxis;

Description

The AxisYSec property enables the user to determine parameters of the secondary Y axis on a chart.

Comments

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.

Example

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:

IChart