
## TimelineCollection class

Specifies the collection of all the Timeline objects on the specified worksheet. Due to MS Excel, Excel 2003 does not support Timeline.

## Methods

| Name | Description |
| --- | --- |
| [add(pivot, row, column, baseFieldName)](#add) | Add a new Timeline using PivotTable as data source |
| [add(pivot, destCellName, baseFieldName)](#add-1) | Add a new Timeline using PivotTable as data source |
| [add(pivot, row, column, baseFieldIndex)](#add-2) | Add a new Timeline using PivotTable as data source |
| [add(pivot, destCellName, baseFieldIndex)](#add-3) | Add a new Timeline using PivotTable as data source |
| [add(pivot, row, column, baseField)](#add-4) | Add a new Timeline using PivotTable as data source |
| [add(pivot, destCellName, baseField)](#add-5) | Add a new Timeline using PivotTable as data source |
| [add()](#add-6) | Reserved for internal use. |
| [clear()](#clear) |  |
| [contains()](#contains) | Reserved for internal use. |
| [get()](#get) | Gets the Timeline by index. |
| [get()](#get-1) | Gets the Timeline by Timeline's name. |
| [get()](#get-2) | Reserved for internal use. |
| [getCount()](#getcount) |  |
| [indexOf()](#indexof) | Reserved for internal use. |
| [iterator()](#iterator) |  |
| [removeAt()](#removeat) |  |

### add(pivot, row, column, baseFieldName) {#add}

Add a new Timeline using PivotTable as data source

| Parameter | Type | Description |
| --- | --- | --- |
| pivot | PivotTable | PivotTable object |
| row | Number | Row index of the cell in the upper-left corner of the Timeline range. |
| column | Number | Column index of the cell in the upper-left corner of the Timeline range. |
| baseFieldName | String | The name of PivotField in PivotTable.BaseFields |

**Returns:** Number — `Number` The new add Timeline index

### add(pivot, destCellName, baseFieldName) {#add-1}

Add a new Timeline using PivotTable as data source

| Parameter | Type | Description |
| --- | --- | --- |
| pivot | PivotTable | PivotTable object |
| destCellName | String | The cell name in the upper-left corner of the Timeline range. |
| baseFieldName | String | The name of PivotField in PivotTable.BaseFields |

**Returns:** Number — `Number` The new add Timeline index

### add(pivot, row, column, baseFieldIndex) {#add-2}

Add a new Timeline using PivotTable as data source

| Parameter | Type | Description |
| --- | --- | --- |
| pivot | PivotTable | PivotTable object |
| row | Number | Row index of the cell in the upper-left corner of the Timeline range. |
| column | Number | Column index of the cell in the upper-left corner of the Timeline range. |
| baseFieldIndex | Number | The index of PivotField in PivotTable.BaseFields |

**Returns:** Number — `Number` The new add Timeline index

### add(pivot, destCellName, baseFieldIndex) {#add-3}

Add a new Timeline using PivotTable as data source

| Parameter | Type | Description |
| --- | --- | --- |
| pivot | PivotTable | PivotTable object |
| destCellName | String | The cell name in the upper-left corner of the Timeline range. |
| baseFieldIndex | Number | The index of PivotField in PivotTable.BaseFields |

**Returns:** Number — `Number` The new add Timeline index

### add(pivot, row, column, baseField) {#add-4}

Add a new Timeline using PivotTable as data source

| Parameter | Type | Description |
| --- | --- | --- |
| pivot | PivotTable | PivotTable object |
| row | Number | Row index of the cell in the upper-left corner of the Timeline range. |
| column | Number | Column index of the cell in the upper-left corner of the Timeline range. |
| baseField | PivotField | The PivotField in PivotTable.BaseFields |

**Returns:** Number — `Number` The new add Timeline index

### add(pivot, destCellName, baseField) {#add-5}

Add a new Timeline using PivotTable as data source

| Parameter | Type | Description |
| --- | --- | --- |
| pivot | PivotTable | PivotTable object |
| destCellName | String | The cell name in the upper-left corner of the Timeline range. |
| baseField | PivotField | The PivotField in PivotTable.BaseFields |

**Returns:** Number — `Number` The new add Timeline index

### add() {#add-6}

Reserved for internal use.

### clear() {#clear}

### contains() {#contains}

Reserved for internal use.

### get() {#get}

Gets the Timeline by index.

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

Gets the Timeline by Timeline's name.

### get() {#get-2}

Reserved for internal use.

### getCount() {#getcount}

### indexOf() {#indexof}

Reserved for internal use.

### iterator() {#iterator}

### removeAt() {#removeat}
