Label(Index: Integer): IChartLabel;
Index. The series label number. Numeration of series labels starts from zero.
The Label property allows to work with chart series labels.
Outdated. Use the IChartSeriePoint.Label property.
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: