IChart.EditedSerie

Syntax

EditedSerie: Integer;

Description

The EditedSerie property determines a series index in the edit modes: By Points and Drawing.

Comments

These modes are set by the IChart.InteractiveMode property.

The EditedSerie property returns -1 if a wrong editing mode is specified or no series is selected.

Example

To execute the example, create a regular report with a chart on the report sheet. A unit is added to the report which can be used to call the GetS procedure using the hyperlink. Add links to the Chart, Report, Tab system assemblies.

Sub GetS;
Var
    Chart : IChart;
Begin
    Chart := PrxReport.ActiveReport.ActiveSheet.Table.Objects.Item(0).Extension As IChart;
    Chart.InteractiveMode := ChartInteractiveMode.EditByPoint;
    Chart.EditedSerie := 0;
End Sub GetS;

The By Points edit mode is set for the chart, and the series with the 0 index is selected for edit.

See also:

IChart