Represents the area in which the chart series is plotted.

PlotArea

new PlotArea(a: IChartObject): PlotArea

Returns PlotArea

Inherited from: ChartAreaBase

Determines the appearance of the border drawn around the chart element area, as well as whether a border appears.

get border(): ChartBorder

Returns ChartBorder

set border(a: ChartBorder): void

Parameters

Returns void

Inherited from: ChartAreaBase

Returns the owning chart (read-only)

get chart(): WorksheetChart

Returns WorksheetChart

Inherited from: ChartAreaBase

Returns or sets a [[ChartFillBase]] derived object which defines the fill properties for the chart element area.

get fill(): ChartFillBase

Returns ChartFillBase

set fill(a: ChartFillBase): void

Parameters

Returns void

Returns or sets the height of the area, expressed as a fraction of the height of the containing chart element.

get height(): number

Returns number

set height(a: number): void

Parameters

  • a: number

Returns void

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.

get left(): number

Returns number

set left(a: number): void

Parameters

  • a: number

Returns void

Inherited from: ChartAreaBase

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

get owner(): ChartObject

Returns ChartObject

Returns or sets the position of the plot area on the chart.

get position(): ElementPosition

Returns ElementPosition

set position(a: ElementPosition): void

Parameters

Returns void

Inherited from: ChartAreaBase

Detrmines if the chart area is displayed with rounded corners

get roundedCorners(): boolean

Returns boolean

set roundedCorners(a: boolean): void

Parameters

  • a: boolean

Returns void

Inherited from: ChartAreaBase

The owning sheet (read-only)

get sheet(): Sheet

Returns Sheet

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.

get top(): number

Returns number

set top(a: number): void

Parameters

  • a: number

Returns void

Returns or sets the width of the area, expressed as a fraction of the width of the containing chart element.

get width(): number

Returns number

set width(a: number): void

Parameters

  • a: number

Returns void

Inherited from: ChartAreaBase

The owning workbook (read-only)

get workbook(): Workbook

Returns Workbook

Inherited from: ChartAreaBase

The owning worksheet (read-only)

get worksheet(): Worksheet

Returns Worksheet

Inherited from: ChartAreaBase

staticInit(): void

Returns void