IChart.AxisYSec

Syntax

AxisYSec: IChartAxis;

Description

The AxisYSec property enables a user to specify parameters of the additional Y axis.

Comments

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;

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