Skip to content

word chart

zmworm edited this page Apr 17, 2026 · 46 revisions

Word: Chart

Embedded chart with configurable type, data series, categories, and styling.

Path: /chart[N]

Operations

  • add - Add embedded charts
  • set - Modify chart properties

Chart types with dedicated pages

Excel, PowerPoint, and Word share the same OOXML chart engine (c:chartSpace) and the same ChartHelper code. All type-specific properties, variants, data formats, and styling knobs documented on the Excel chart-type pages apply identically to Word charts.

  • column — gap width, overlap, bar shape, stacked/percent/3D variants
  • bar — horizontal variant of column
  • line — smooth curves, dash patterns, markers, drop lines, high-low lines, up-down bars, data tables, reference lines
  • pie — explosion, first slice angle, per-slice colors
  • doughnut — ring chart with hole size
  • area — filled regions, stacked/percent/3D variants, gradient fill, transparency
  • scatter — XY numeric axes, 5 scatter styles
  • bubble — bubble scale, size-represents, XY + size
  • radar — polar grid, 3 radar styles
  • stock — OHLC candlestick, 3 or 4 series order
  • combo — multi-type overlay, dual axis
  • waterfall — bridge chart with colored bars
  • funnel — cx extended chart, pipeline stages
  • treemap — cx extended chart, nested rectangles
  • sunburst — cx extended chart, concentric rings
  • boxWhisker — cx extended chart, box plot
  • histogram — cx extended chart with binning

The only Word-specific difference is the outer container: charts are embedded as inline drawing elements in the document body, sized in EMU.

get

officecli get report.docx /chart[1]

query

officecli query report.docx "chart"

remove

officecli remove report.docx /chart[1]

Based on OfficeCLI v1.0.51

Clone this wiki locally