
## SparklineCollection class

Encapsulates a collection of Sparkline objects.

## Methods

| Name | Description |
| --- | --- |
| [add(dataRange, row, column)](#add) | Add a sparkline. |
| [add()](#add-1) | Reserved for internal use. |
| [clear()](#clear) |  |
| [contains()](#contains) | Reserved for internal use. |
| [get(index)](#get) | Gets the Sparkline element at the specified index. |
| [get()](#get-1) | Reserved for internal use. |
| [getCount()](#getcount) |  |
| [indexOf()](#indexof) | Reserved for internal use. |
| [iterator()](#iterator) |  |
| [remove(o)](#remove) | Removes the sparkline |
| [removeAt()](#removeat) |  |
| [removeSparkline()](#removesparkline) |  |

### add(dataRange, row, column) {#add}

Add a sparkline.

| 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. |

### add() {#add-1}

Reserved for internal use.

### clear() {#clear}

### contains() {#contains}

Reserved for internal use.

### get(index) {#get}

Gets the Sparkline element at the specified index.

| Parameter | Type | Description |
| --- | --- | --- |
| index | Number | The zero based index of the element. |

**Returns:** Sparkline — `Sparkline` The element at the specified index.

### get() {#get-1}

Reserved for internal use.

### getCount() {#getcount}

### indexOf() {#indexof}

Reserved for internal use.

### iterator() {#iterator}

### remove(o) {#remove}

Removes the sparkline

| Parameter | Type | Description |
| --- | --- | --- |
| o | Object |  |

### removeAt() {#removeat}

### removeSparkline() {#removesparkline}
