DefaultLabel: IChartLabel;
The DefaultLabel property determines default settings for data labels.
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 DefaultL;
Var
Chart: IChart;
Begin
Chart.Series.DefaultLabel.BackgroundInfo.Color := New GxColor.CreateARGB( 255, 245, 120, 255);
End Sub DefaultL;
After executing the example labels are filled with lilac color.
See also: