Represents the area in which the chart series is plotted.

Hierarchy

Hierarchy (view full)

Constructors

Properties

$type: Type
$t: Type
nextHashCode: number

Accessors

  • get border(): ChartBorder
  • Determines the appearance of the border drawn around the chart element area, as well as whether a border appears.

    Returns ChartBorder

  • set border(a): void
  • Parameters

    Returns void

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

    See

    [[owner]]

    Returns WorksheetChart

  • get fill(): ChartFillBase
  • Returns or sets a [[ChartFillBase]] derived object which defines the fill properties for the chart element area.

    This property returns null by default, indicating that no fill is applied.

    To apply a solid color fill, assign an instance of the [[ChartSolidFill]] class to this property.

    To apply a gradient fill, assign an instance of the [[ChartGradientFill]] class to this property.

    To make the area transparent, assign an instance of the [[ChartEmptyFill]] class to this property.

    See

    • [[ChartSolidFill]]
    • [[ChartGradientFill]]
    • [[ChartEmptyFill]]

    Returns ChartFillBase

  • set fill(a): void
  • Parameters

    Returns void

  • get height(): number
  • Returns or sets the height of the area, expressed as a fraction of the height of the containing chart element.

    See

    • [[width]]
    • [[top]]
    • [[height]]

    Returns number

  • set height(a): void
  • Parameters

    • a: number

    Returns void

  • get left(): number
  • Returns or sets a value which represents the left edge of the area, expressed as a fraction of the width of the containing chart element.

    This property can be set to a value between zero and one, where one represents the total width of the containing element.

    For example, to situate the area such that it's left edge coincides with the center of the containing element, set this property to .5.

    See

    • [[top]]
    • [[width]]
    • [[height]]

    Returns number

  • set left(a): void
  • Parameters

    • a: number

    Returns void

  • 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 position(): ElementPosition
  • Returns or sets the position of the plot area on the chart.

    Returns ElementPosition

  • set position(a): void
  • Parameters

    Returns void

  • get roundedCorners(): boolean
  • Detrmines if the chart area is displayed with rounded corners

    Returns boolean

  • set roundedCorners(a): void
  • Parameters

    • a: boolean

    Returns void

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

    Returns Sheet

  • get top(): number
  • Returns or sets a value which represents the top edge of the area, expressed as a fraction of the height of the containing chart element.

    This property can be set to a value between zero and one, where one represents the total height of the containing element.

    For example, to situate the area such that it's top edge coincides with the center of the containing element, set this property to .5.

    See

    • [[left]]
    • [[width]]
    • [[height]]

    Returns number

  • set top(a): void
  • Parameters

    • a: number

    Returns void

  • get width(): number
  • Returns or sets the width of the area, expressed as a fraction of the width of the containing chart element.

    See

    • [[height]]
    • [[top]]
    • [[height]]

    Returns number

  • set width(a): void
  • Parameters

    • a: number

    Returns void

  • 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 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

  • Returns void