Table of Contents

IExcelChart.SetSeriesInSubchart Method

Sets a Series value. Note that for xlsx charts, this will change the **data range** and the **options** of the series. If you only want to change the data range, pass null options to the method.

Syntax

Unit: FlexCel.Core

procedure IExcelChart.SetSeriesInSubchart(const subchart: Integer; const indexInSubchart: Integer; value: IChartSeries); virtual; abstract;

Parameters

<-> Parameter Type Description
const subchart Integer Subchart where we want to set the series. (1 based)
const indexInSubchart Integer Index of the series to set inside the subchart.(1 based)
value IChartSeries Series definition.

See also