LabelCount: Integer;
The LabelCount property returns the number of labels for a series.
This example assumes that there is the Serie object of the IChartSerie type.
Sub LCount;
Var
Serie : IChartSerie;
Count : Integer;
Begin
Count := Serie.LabelsCount;
End Sub LCount;
After executing the example the number of available levels is stored under the Count variable.
See also: