IChartLabel.BackgroundInfo

Syntax

BackgroundInfo: IChartBackgroundInfo;

Description

The BackgroundInfo property determines properties of background fill for a label.

Example

Executing the example requires a regular report with a chart on the report sheet. A unit is added to the report and the UserProc procedure is called from this unit using the hyperlink. The inspector of unit assemblies must contain links to the Chart, Report, Tab and Drawing system assemblies.

Sub UserProc;
Var
    Chart: IChart;
Begin
    Chart := (PrxReport.ActiveReport.ActiveSheet As IPrxTable).TabSheet.Objects.Item(0).Extension As IChart;
    Chart.Series.DisplayLabels := True;
    Chart.Series.DefaultLabel.BackgroundInfo.Color := New GxColor.CreateARGB( 25525500);
End Sub UserProc;

After executing the example the label background color is changed to red.

See also:

IChartLabel