IPrxChart.PointsRange

Syntax

PointsRange: ITabRange;

Description

The PointsRange property returns the range of the data table, from which the chart points names are obtained.

Example

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.PointsRange.Style;

Style.BackgroundColor := New GxColor.CreateRGB(188,166,248);

End Sub UserProc;

Executing the example changes source data of the chart and sets a fill for the range containing chart points' names.

See also:

IPrxChart