A collection of Sparklines exposed from a SparklineGroup

Hierarchy

Hierarchy

  • Base
    • SparklineCollection

Implements

Constructors

Properties

$type: Type
$t: Type
nextHashCode: number

Accessors

  • get count(): number
  • Returns the total number of items in the collection.

    Returns number

Methods

  • Adds a new SparklineGroup with no sparklines

    Returns

    The added sparkine

    Parameters

    • row: number

      The zero-based row of the sparkline cell.

    • column: number

      The zero-based column of the sparkline cell.

    • dataRegion: string

      A string describing the data region.

    • Optional cellReferenceMode: CellReferenceMode

      An optional CellReferenceMode to use to parse the dataRegion. If null it defaults to the workbook's mode.

    Returns Sparkline

  • Clears all items from the collection

    Returns void

  • Returns true if the collection contains the item

    Parameters

    • sparkline: Sparkline

      The sparkline to check

    Returns boolean

  • Parameters

    • other: any

    Returns boolean

  • Returns any

  • Returns any

  • Returns number

  • Gets the index of the item in the collection

    Returns

    The index or -1 if the item is not in the collection

    Parameters

    Returns number

  • Indexer

    Returns

    The item at the specified index

    Throws

    IndexOutOfRangeException If the index is negative or greater than or equal to count

    Parameters

    Returns Sparkline

  • Removes a sparkline from the collection

    Returns

    true if successful, otherwise false

    Parameters

    • sparkline: Sparkline

      The sparkline to remove.

    Returns boolean

  • Removes a sparkline from the collection

    Throws

    IndexOutOfRangeException if the index is less than 0 or not less than the count.

    Parameters

    • index: number

      The zero-based index of the sparkline to remove.

    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