SeriesCollectionAdd Method (String, Boolean, Boolean)

Adds the SeriesCollection collection to a chart.

Namespace:  Aspose.Cells.Charts
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 22.5.0.0 (22.5.0)
Syntax
public int Add(
	string area,
	bool isVertical,
	bool checkLabels
)

Parameters

area
Type: SystemString
Specifies values from which to plot the data series
isVertical
Type: SystemBoolean
Specifies whether to plot the series from a range of cell values by row or by column.
checkLabels
Type: SystemBoolean
Indicates whether the range contains series's name

Return Value

Type: Int32
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