Appearance
@shbernal/pptxgenjs / index / ChartAreaProps
Interface: ChartAreaProps
Defined in: core-interfaces.ts:2377
Extends
Properties
border?
optionalborder?:BorderProps
Defined in: core-interfaces.ts:2368
PowerPoint: Format Chart Area/Plot > Border ["Line"]
Example
ts
border: {color: 'FF0000', width: 1} // hex RGB color, 1 pt lineInherited from
fill?
optionalfill?:ShapeFillProps
Defined in: core-interfaces.ts:2375
PowerPoint: Format Chart Area/Plot Area > Fill
Examples
ts
fill: {color: '696969'} // hex RGB color valuets
fill: {color: pptx.SchemeColor.background2} // Theme color valuets
fill: {transparency: 50} // 50% transparencyInherited from
roundedCorners?
optionalroundedCorners?:boolean
Defined in: core-interfaces.ts:2383
Whether the chart area has rounded corners
- only applies when either
fillorborderis used
Default
ts
true