A collection of [[Trendline]] objects belonging to the same [[Series]].

See

[[Series.trendlineCollection]]

Hierarchy

Hierarchy (view full)

Implements

Constructors

Properties

$type: Type
$t: Type
nextHashCode: number

Accessors

  • get chart(): WorksheetChart
  • Returns the owning chart (read-only)

    See

    [[owner]]

    Returns WorksheetChart

  • get count(): number
  • Returns the number of items in the collection (read-only)

    Returns number

  • get isReadOnly(): boolean
  • Determines if the collecion can be modified (read-only)

    Returns boolean

  • get owner(): ChartObject
  • returns this object's owner. (read-only) The owner or null if this object is owned directly by the Chart

    See

    [[chart]]

    Returns ChartObject

  • get sheet(): Sheet
  • The owning sheet (read-only)

    Returns Sheet

  • get workbook(): Workbook
  • The owning workbook (read-only)

    Returns Workbook

  • get worksheet(): Worksheet
  • The owning worksheet (read-only)

    Returns Worksheet

Methods

  • Returns EnumeratorWrapper<Trendline>

  • Adds a new [[Trendline]] to the collection

    Returns Trendline

  • Clears the collection.

    Returns void

  • Returns a boolean value indicating whether the specified instance is contained within this collection.

    Parameters

    Returns boolean

  • Parameters

    • other: any

    Returns boolean

  • Returns any

  • Returns any

  • Returns number

  • Returns the index of the item in the collection.

    Parameters

    Returns number

  • Inserts a new [[Trendline]] into the collection at the specified index.

    Parameters

    • index: number

      The index at which to insert the new trendline.

    Returns Trendline

  • Returns the [[Trendline]] instance at the specified ordinal position within the collection.

    Parameters

    • a: number

    Returns Trendline

  • Returns Base

  • Removes an item from the collection.

    Parameters

    Returns boolean

  • Removes the series at the specified index

    Parameters

    • index: number

      The zero-based index

    Returns void

  • Parameters

    • item1: any
    • item2: any

    Returns number

  • Parameters

    • item1: any
    • item2: any

    Returns number

  • Parameters

    • item1: any
    • item2: any

    Returns boolean

  • Parameters

    • a: any
    • b: any

    Returns boolean

  • Parameters

    • obj: any

    Returns any[]

  • Parameters

    • obj: any

    Returns any[]

  • Parameters

    • obj: any

    Returns number

  • Parameters

    • a: any
    • b: any

    Returns boolean

  • Returns void