Caption: IChartCaption;
The Caption property allows setting parameters and content of an axis title.
This example assumes that there is the Chart object of the IChart type.
Sub CapY;
Var
Chart : IChart;
YAxis : IChartAxis;
Begin
YAxis:= Chart.AxisY;
YAxis.Caption.Text := "Y axis";
End Sub CapY;
After executing the example the title of the Y axis contains the specified text.
See also: