TimelineCollection

TimelineCollection class

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

class TimelineCollection;

Methods

MethodDescription
get(number)Gets the Timeline by index.
get(string)Gets the Timeline by Timeline’s name.
add(PivotTable, number, number, string)Add a new Timeline using PivotTable as data source
add(PivotTable, string, string)Add a new Timeline using PivotTable as data source
add(PivotTable, number, number, number)Add a new Timeline using PivotTable as data source
add(PivotTable, string, number)Add a new Timeline using PivotTable as data source
add(PivotTable, number, number, PivotField)Add a new Timeline using PivotTable as data source
add(PivotTable, string, PivotField)Add a new Timeline using PivotTable as data source
getCount()Gets the number of elements contained in.
isNull()Checks whether the implementation object is null.

get(number)

Gets the Timeline by index.

get(index: number) : Timeline;

Parameters:

ParameterTypeDescription
indexnumber

Returns

Timeline

get(string)

Gets the Timeline by Timeline’s name.

get(name: string) : Timeline;

Parameters:

ParameterTypeDescription
namestring

Returns

Timeline

add(PivotTable, number, number, string)

Add a new Timeline using PivotTable as data source

add(pivot: PivotTable, row: number, column: number, baseFieldName: string) : number;

Parameters:

ParameterTypeDescription
pivotPivotTablePivotTable object
rownumberRow index of the cell in the upper-left corner of the Timeline range.
columnnumberColumn index of the cell in the upper-left corner of the Timeline range.
baseFieldNamestringThe name of PivotField in PivotTable.BaseFields

Returns

The new add Timeline index

add(PivotTable, string, string)

Add a new Timeline using PivotTable as data source

add(pivot: PivotTable, destCellName: string, baseFieldName: string) : number;

Parameters:

ParameterTypeDescription
pivotPivotTablePivotTable object
destCellNamestringThe cell name in the upper-left corner of the Timeline range.
baseFieldNamestringThe name of PivotField in PivotTable.BaseFields

Returns

The new add Timeline index

add(PivotTable, number, number, number)

Add a new Timeline using PivotTable as data source

add(pivot: PivotTable, row: number, column: number, baseFieldIndex: number) : number;

Parameters:

ParameterTypeDescription
pivotPivotTablePivotTable object
rownumberRow index of the cell in the upper-left corner of the Timeline range.
columnnumberColumn index of the cell in the upper-left corner of the Timeline range.
baseFieldIndexnumberThe index of PivotField in PivotTable.BaseFields

Returns

The new add Timeline index

add(PivotTable, string, number)

Add a new Timeline using PivotTable as data source

add(pivot: PivotTable, destCellName: string, baseFieldIndex: number) : number;

Parameters:

ParameterTypeDescription
pivotPivotTablePivotTable object
destCellNamestringThe cell name in the upper-left corner of the Timeline range.
baseFieldIndexnumberThe index of PivotField in PivotTable.BaseFields

Returns

The new add Timeline index

add(PivotTable, number, number, PivotField)

Add a new Timeline using PivotTable as data source

add(pivot: PivotTable, row: number, column: number, baseField: PivotField) : number;

Parameters:

ParameterTypeDescription
pivotPivotTablePivotTable object
rownumberRow index of the cell in the upper-left corner of the Timeline range.
columnnumberColumn index of the cell in the upper-left corner of the Timeline range.
baseFieldPivotFieldThe PivotField in PivotTable.BaseFields

Returns

The new add Timeline index

add(PivotTable, string, PivotField)

Add a new Timeline using PivotTable as data source

add(pivot: PivotTable, destCellName: string, baseField: PivotField) : number;

Parameters:

ParameterTypeDescription
pivotPivotTablePivotTable object
destCellNamestringThe cell name in the upper-left corner of the Timeline range.
baseFieldPivotFieldThe PivotField in PivotTable.BaseFields

Returns

The new add Timeline index

getCount()

Gets the number of elements contained in.

getCount() : number;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;