SparklineGroupCollection

SparklineGroupCollection class

Encapsulates a collection of SparklineGroup objects.

class SparklineGroupCollection;

Methods

MethodDescription
get(number)Gets the SparklineGroup element at the specified index.
add(SparklineType)Adds an SparklineGroup with a Sparkline to the collection.
add(SparklineType, string, boolean, CellArea)Adds an SparklineGroup with Sparkline to the collection.
clearSparklines(CellArea)Clears the sparklines that is inside an area of cells.
clearSparklineGroups(CellArea)Clears the sparkline groups that overlaps an area of cells.
getCount()Gets the number of elements contained in.
isNull()Checks whether the implementation object is null.

get(number)

Gets the SparklineGroup element at the specified index.

get(index: number) : SparklineGroup;

Parameters:

ParameterTypeDescription
indexnumberThe zero based index of the element.

Returns

The element at the specified index.

add(SparklineType)

Adds an SparklineGroup with a Sparkline to the collection.

add(type: SparklineType) : number;

Parameters:

ParameterTypeDescription
typeSparklineTypeSpecifies the type of the Sparkline group.

Returns

SparklineGroup object index.

add(SparklineType, string, boolean, CellArea)

Adds an SparklineGroup with Sparkline to the collection.

add(type: SparklineType, dataRange: string, isVertical: boolean, locationRange: CellArea) : number;

Parameters:

ParameterTypeDescription
typeSparklineTypeSpecifies the type of the Sparkline group.
dataRangestringSpecifies the data range of the sparkline group.
isVerticalbooleanSpecifies whether to plot the sparklines from the data range by row or by column.
locationRangeCellAreaSpecifies where the sparklines to be placed.

Returns

SparklineGroup object index.

clearSparklines(CellArea)

Clears the sparklines that is inside an area of cells.

clearSparklines(cellArea: CellArea) : void;

Parameters:

ParameterTypeDescription
cellAreaCellAreaSpecifies the area of cells

clearSparklineGroups(CellArea)

Clears the sparkline groups that overlaps an area of cells.

clearSparklineGroups(cellArea: CellArea) : void;

Parameters:

ParameterTypeDescription
cellAreaCellAreaSpecifies the area of cells

getCount()

Gets the number of elements contained in.

getCount() : number;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;