Skip to content

@shbernal/pptxgenjs


@shbernal/pptxgenjs / index / IChartPropsChartBar

Interface: IChartPropsChartBar

Defined in: core-interfaces.ts:2449

Extended by

Properties

bar3DShape?

optional bar3DShape?: string

Defined in: core-interfaces.ts:2450


barDir?

optional barDir?: string

Defined in: core-interfaces.ts:2451


barGapDepthPct?

optional barGapDepthPct?: number

Defined in: core-interfaces.ts:2452


barGapWidthPct?

optional barGapWidthPct?: number

Defined in: core-interfaces.ts:2459

MS-PPT > Format chart > Format Data Point > Series Options > "Gap Width"

  • width (percent)
  • range: 0-500

Default

ts
150

barGrouping?

optional barGrouping?: string

Defined in: core-interfaces.ts:2460


barOverlapPct?

optional barOverlapPct?: number

Defined in: core-interfaces.ts:2468

MS-PPT > Format chart > Format Data Point > Series Options > "Series Overlap"

  • overlap (percent)
  • range: -100-100

Since

v3.9.0

Default

ts
0

barSeriesLine?

optional barSeriesLine?: boolean | OptsChartGridLine

Defined in: core-interfaces.ts:2482

Draw connector lines between data points across stacked bar/column series ("Series Lines" in PowerPoint). Emits <c:serLines> in the bar chart.

  • true uses PowerPoint's automatic line styling.
  • An OptsChartGridLine object customizes color/size/style/cap.
  • Omit (or pass an object with style: 'none') to disable.

Bar (bar) charts only; ignored for 3D bar charts.

Default

ts
undefined

Examples

ts
true
ts
{ color: '777777', size: 1, style: 'dash' }