IChartAxis.Caption

Syntax

Caption: IChartCaption;

Description

The Caption property enables the user to determine parameters and contents of an axis caption.

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 caption of the Y axis contains the specified text.

See also:

IChartAxis