IChartSerie.DefaultLabel

Syntax

DefaultLabel: IChartLabel;

Description

The DefaultLabel property determines default settings for labels of a series.

Comments

On determining default settings of label, the Selected property is not available; when trying to use it, the message "The property can be applied only for each label individually" is displayed.

Example

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

Sub DeLab;

Var

Chart: IChart;

Serie: IChartSerie;

Begin

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

Serie.DefaultLabel.AutoPlacement := True;

End Sub DeLab;

After executing the example autoplacement is applied for all labels.

See also:

IChartSerie