IChartSerie.Label

Syntax

Label(Index: Integer): IChartLabel;

Parameters

Index. The series label number. Numeration of series labels starts from zero.

Description

The Label property allows to work with chart series labels.

Comments

Outdated. Use the IChartSeriePoint.Label property.

Example

This example assumes that there is the Chart object of the IChart type.

Sub Labl;

Var

i : Integer;

Chart: IChart;

Serie: IChartSerie;

Begin

Serie := Chart.Series.Item(0);

For i := 0 To Serie.LabelsCount - 1 Do

Serie.Label(i).Visible := True;

End For;

End Sub Labl;

After executing the example labels are displayed on the graph series for all series points.

See also:

IChartSerie