IPrxChart.SeriesInRows

Syntax

SeriesInRows: Boolean;

Description

The SeriesInRows property determines the method of interpreting numeric series in the data area (the range), from which numeric values used to build the chart are obtained.

If the property is set to True, the series are located horizontally (in rows) in the data area. If the property is set to False, the series are located vertically (in columns).

The default property value is True.

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.SeriesInRows := False;

End Sub UserProc;

After executing the example source data of the regular report chart are changed.

See also:

IPrxChart