DefaultLabel: IChartLabel;
DefaultLabel: Prognoz.Platform.Interop.Chart.IChartLabel;
The DefaultLabel property determines default settings for labels of a series.
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.
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: