Represents a gradient fill for a chart element.

See

  • [[GradientStop]]
  • [[GradientType]]

Hierarchy

Hierarchy (view full)

Constructors

Properties

$type: Type
$t: Type
nextHashCode: number

Accessors

  • get angle(): number
  • Returns the angle defining the path along which the gradient extends; applicable only for linear gradients.

    This property only applies to linear gradients.

    This property defines the angle the gradient path makes with the horizontal plane.

    For example, a gradient which extends from left to right can be changed to extend from bottom to top by setting this property to 90 degrees.

    A value of 45 degrees yields a gradient which extends from the bottom left corner of the containing element to the top right corner.

    Returns number

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

    See

    [[owner]]

    Returns WorksheetChart

  • get gradientType(): GradientType
  • Defines the style for the gradient.

    Returns GradientType

  • 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

  • Parameters

    • other: any

    Returns boolean

  • Returns number

  • Returns an enumerable list containing each [[GradientStop]] associated with this gradient, ordered by their [[GradientStop.position]].

    Returns IEnumerable$1<GradientStop>

  • Returns Base

  • 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