SeriesRange: ITabRange;
The SeriesRange property returns the table range, from which the chart series names are obtained.
The following example assumes that there is the Report object with the IPrxReport type.
Sub UserProc;
Var
Report: IPrxReport;
Chart: IPrxChart;
Style: ITabCellStyle;
Begin
Chart := (Report.ActiveSheet As IPrxTable).TabSheet.Objects.Item(0).Extension As IPrxChart;
Chart.Data := "B4:F8";
Chart.Series := "A4:A8";
Chart.Points := "B1:F1";
Style := Chart.SeriesRange.Style;
Style.BackgroundColor := New GxColor.CreateRGB(45,125,248);
End Sub UserProc;
Executing the example changes source data of the chart and sets a fill for the range containing series names.
See also: