Add

SparklineGroupCollection.Add method

Adds an SparklineGroup item to the collection.

public int Add(SparklineType type, string dataRange, bool isVertical, CellArea locationRange)
Parameter Type Description
type SparklineType Specifies the type of the Sparkline group.
dataRange String Specifies the data range of the sparkline group.
isVertical Boolean Specifies whether to plot the sparklines from the data range by row or by column.
locationRange CellArea Specifies where the sparklines to be placed.

Return Value

SparklineGroup object index.

See Also