SparklineGroupCollectionAdd Method

Adds an SparklineGroup item to the collection.

Namespace:  Aspose.Cells.Charts
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 21.6.0.0 (21.6)
Syntax
public int Add(
	SparklineType type,
	string dataRange,
	bool isVertical,
	CellArea locationRange
)

Parameters

type
Type: Aspose.Cells.ChartsSparklineType
Specifies the type of the Sparkline group.
dataRange
Type: SystemString
Specifies the data range of the sparkline group.
isVertical
Type: SystemBoolean
Specifies whether to plot the sparklines from the data range by row or by column.
locationRange
Type: Aspose.CellsCellArea
Specifies where the sparklines to be placed.

Return Value

Type: Int32
SparklineGroup object index.
See Also