Skip to content

@shbernal/pptxgenjs


@shbernal/pptxgenjs / index / IChartAreaProps

Interface: IChartAreaProps

Defined in: core-interfaces.ts:2185

Extends

Properties

border?

optional border?: BorderProps

Defined in: core-interfaces.ts:2176

PowerPoint: Format Chart Area/Plot > Border ["Line"]

Example

ts
border: {color: 'FF0000', pt: 1} // hex RGB color, 1 pt line

Inherited from

IChartPropsFillLine.border


fill?

optional fill?: ShapeFillProps

Defined in: core-interfaces.ts:2183

PowerPoint: Format Chart Area/Plot Area > Fill

Examples

ts
fill: {color: '696969'} // hex RGB color value
ts
fill: {color: pptx.SchemeColor.background2} // Theme color value
ts
fill: {transparency: 50} // 50% transparency

Inherited from

IChartPropsFillLine.fill


roundedCorners?

optional roundedCorners?: boolean

Defined in: core-interfaces.ts:2192

Whether the chart area has rounded corners

  • only applies when either fill or border is used

Default

ts
true

Since

v3.11