IPrxChart.Sheet

Syntax

Sheet: IPrxSheet;

Description

The Sheet property determines the sheet of the regular report where the source data for chart creation is stored.

Example

The following example assumes that there is the Report object with the IPrxReport type.

Sub UserProc;

Var

Report: IPrxReport;

Chart: IPrxChart;

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";

Chart.Sheet := Report.Sheets.FindByName("Sheet1");

End Sub UserProc;

After executing the example source data of the chart is changed.

See also:

IPrxChart