SparklineCollection
Contents
[
Hide
]SparklineCollection class
Encapsulates a collection of Sparkline objects.
class SparklineCollection;
Methods
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| index | number | The 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:
| Parameter | Type | Description |
|---|---|---|
| dataRange | string | Specifies the new data range of the sparkline. |
| row | number | The row index of the location. |
| column | number | The column index of the location. |
remove(VObject)
Removes the sparkline
remove(o: VObject) : void;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| o | VObject |