AtSecondaryAxis: Boolean;
The AtSecondaryAxis property determines whether a secondary axis is used for the selected series. By default the property is set to False (a secondary axis is not used for the selected series).
Executing the example requires a form, the Button1 button located on this form, the ChartBox component and UiChart component used as a data source.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
SelectedSeries: IChartSelectedSeries;
Begin
SelectedSeries:= UiChart1.Chart.SelectedSeries;
SelectedSeries.Add (2);
SelectedSeries.AtSecondaryAxis:= True;
End Sub Button1OnClick;
After clicking Button1, a secondary axis is used for the selected series.
See also: