Aspose::Cells::Charts::SeriesCollection::Add method

SeriesCollection::Add(const U16String&, bool) method

Adds the Series collection to a chart.

int32_t Aspose::Cells::Charts::SeriesCollection::Add(const U16String &area, bool isVertical)
ParameterTypeDescription
areaconst U16String&Specifies values from which to plot the data series
isVerticalboolSpecifies whether to plot the series from a range of cell values by row or by column.

ReturnValue

Return the first index of the added ASeries in the NSeries.

Remarks

If set data on contiguous cells, use colon to seperate them.For example, $C$2:$C$5.

If set data on non contiguous cells, use comma to seperate them.For example: ($C$2,$D$5).

See Also

SeriesCollection::Add(const char16_t*, bool) method

Adds the Series collection to a chart.

int32_t Aspose::Cells::Charts::SeriesCollection::Add(const char16_t *area, bool isVertical)
ParameterTypeDescription
areaconst char16_t*Specifies values from which to plot the data series
isVerticalboolSpecifies whether to plot the series from a range of cell values by row or by column.

ReturnValue

Return the first index of the added ASeries in the NSeries.

Remarks

If set data on contiguous cells, use colon to seperate them.For example, $C$2:$C$5.

If set data on non contiguous cells, use comma to seperate them.For example: ($C$2,$D$5).

See Also

SeriesCollection::Add(const U16String&, bool, bool) method

Adds the Series collection to a chart.

int32_t Aspose::Cells::Charts::SeriesCollection::Add(const U16String &area, bool isVertical, bool checkLabels)
ParameterTypeDescription
areaconst U16String&Specifies values from which to plot the data series
isVerticalboolSpecifies whether to plot the series from a range of cell values by row or by column.
checkLabelsboolIndicates whether the range contains series’s name

ReturnValue

Return the first index of the added ASeries in the NSeries.

Remarks

If set data on contiguous cells, use colon to seperate them.For example, $C$2:$C$5.

If set data on non contiguous cells, use comma to seperate them.For example, ($C$2,$D$5).

See Also

SeriesCollection::Add(const char16_t*, bool, bool) method

Adds the Series collection to a chart.

int32_t Aspose::Cells::Charts::SeriesCollection::Add(const char16_t *area, bool isVertical, bool checkLabels)
ParameterTypeDescription
areaconst char16_t*Specifies values from which to plot the data series
isVerticalboolSpecifies whether to plot the series from a range of cell values by row or by column.
checkLabelsboolIndicates whether the range contains series’s name

ReturnValue

Return the first index of the added ASeries in the NSeries.

Remarks

If set data on contiguous cells, use colon to seperate them.For example, $C$2:$C$5.

If set data on non contiguous cells, use comma to seperate them.For example, ($C$2,$D$5).

See Also