SparklineGroupCollection

SparklineGroupCollection class

Encapsulates a collection of SparklineGroup objects.

Methods

NameDescription
add()
add(type, dataRange, isVertical, locationRange)Adds an SparklineGroup item to the collection.
add()Reserved for internal use.
clear()
clearSparklineGroups(cellArea)Clears the sparkline groups that overlaps an area of cells.
clearSparklines(cellArea)Clears the sparklines that is inside an area of cells.
contains()Reserved for internal use.
get(index)Gets the SparklineGroup element at the specified index.
get()Reserved for internal use.
getCount()
indexOf()Reserved for internal use.
iterator()
removeAt()

add()

add(type, dataRange, isVertical, locationRange)

Adds an SparklineGroup item to the collection.

ParameterTypeDescription
typeNumberSparklineType
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: Number — Number SparklineGroup object index.

add()

Reserved for internal use.

clear()

clearSparklineGroups(cellArea)

Clears the sparkline groups that overlaps an area of cells.

ParameterTypeDescription
cellAreaCellAreaSpecifies the area of cells

clearSparklines(cellArea)

Clears the sparklines that is inside an area of cells.

ParameterTypeDescription
cellAreaCellAreaSpecifies the area of cells

contains()

Reserved for internal use.

get(index)

Gets the SparklineGroup element at the specified index.

ParameterTypeDescription
indexNumberThe zero based index of the element.

Returns: SparklineGroup — SparklineGroup The element at the specified index.

get()

Reserved for internal use.

getCount()

indexOf()

Reserved for internal use.

iterator()

removeAt()