SparklineCollection

SparklineCollection class

Encapsulates a collection of Sparkline objects.

class SparklineCollection;

Methods

MethodDescription
get(number)Gets the Sparkline element at the specified index.
add(string, number, number)Add a sparkline.
getCount()Gets the number of elements contained in.

get(number)

Gets the Sparkline element at the specified index.

get(index: number) : Sparkline;

Parameters:

ParameterTypeDescription
indexnumberThe zero based index of the element.

Returns

The element at the specified index.

add(string, number, number)

Add a sparkline.

add(dataRange: string, row: number, column: number) : number;

Parameters:

ParameterTypeDescription
dataRangestringSpecifies the new data range of the sparkline.
rownumberThe row index of the location.
columnnumberThe column index of the location.

getCount()

Gets the number of elements contained in.

getCount() : number;