Aspose::Cells::Charts::SeriesCollection::SetSeriesNames method

SeriesCollection::SetSeriesNames(int32_t, const U16String&, bool) method

Sets the name of all the serieses in the chart.

void Aspose::Cells::Charts::SeriesCollection::SetSeriesNames(int32_t startIndex, const U16String &area, bool isVertical)
ParameterTypeDescription
startIndexint32_tThe index of the first series which you want to set the name.
areaconst U16String&Specifies the area for the series name.
isVerticalbool>Specifies whether to plot the series from a range of cell values by row or by column.

Remarks

If the start index is larger than the count of the serieses, it will return and do nothing.

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

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

See Also

SeriesCollection::SetSeriesNames(int32_t, const char16_t*, bool) method

Sets the name of all the serieses in the chart.

void Aspose::Cells::Charts::SeriesCollection::SetSeriesNames(int32_t startIndex, const char16_t *area, bool isVertical)
ParameterTypeDescription
startIndexint32_tThe index of the first series which you want to set the name.
areaconst char16_t*Specifies the area for the series name.
isVerticalbool>Specifies whether to plot the series from a range of cell values by row or by column.

Remarks

If the start index is larger than the count of the serieses, it will return and do nothing.

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

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

See Also