SeriesCollectionSetSeriesNames Method

Sets the name of all the serieses in the chart.

Namespace:  Aspose.Cells.Charts
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 22.1.0.0 (22.1)
Syntax
public void SetSeriesNames(
	int startIndex,
	string area,
	bool isVertical
)

Parameters

startIndex
Type: SystemInt32
The index of the first series which you want to set the name.
area
Type: SystemString
Specifies the area for the series name.
isVertical
Type: SystemBoolean
>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