IChartAxis.Caption

Syntax

Caption: IChartCaption;

Description

The Caption property allows setting parameters and content of an axis title.

Example

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:

IChartAxis