Skip to content

word chart set

zmworm edited this page Mar 18, 2026 · 52 revisions

Word: Chart - set

Modify chart title, legend, and other properties.

Path: /chart[N]

Properties

Property Default Description
title - Chart title (text)
legend - true, false, top, bottom, left, right, none
dataLabels/labels - Show data labels (bool)
colors - Comma-separated hex colors
axisTitle/vTitle - Value axis title (text)
catTitle/hTitle - Category axis title (text)
axisMin/min - Value axis minimum (number)
axisMax/max - Value axis maximum (number)
majorUnit - Major unit interval (number)
minorUnit - Minor unit interval (number)
axisNumFmt - Axis number format code
categories - Comma-separated category labels
data - Series data (Series1:1,2,3;Series2:4,5,6)
series1..seriesN - Individual series (Name:val1,val2)

Examples

officecli set report.docx /chart[1] --prop title="Updated Title" --prop legend=bottom

Based on OfficeCli v1.0.6

Clone this wiki locally