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.
remove(VObject)Removes the sparkline

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.

remove(VObject)

Removes the sparkline

remove(o: VObject) : void;

Parameters:

ParameterTypeDescription
oVObject