-
Notifications
You must be signed in to change notification settings - Fork 561
word chart set
zmworm edited this page Mar 20, 2026
·
52 revisions
Modify chart title, legend, and other properties.
Path: /chart[N]
| 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) |
labelPos/labelposition
|
- | Label position: center/ctr, insideEnd/inside, insideBase/base, outsideEnd/outside, bestFit/best/auto, top/t, bottom/b, left/l, right/r
|
labelFont |
- | Label font: "size:color:bold" e.g. "10:FF0000:true"
|
gridlines/majorGridlines
|
- |
true, none/false, or "color:widthPt:dash"
|
minorGridlines |
- | Same format as gridlines
|
plotFill/plotAreaFill
|
- | Plot area background (hex color) |
chartFill/chartAreaFill
|
- | Chart area background (hex color) |
lineWidth |
- | Line width in pt |
lineDash/dash
|
- |
solid, dot, dash, dashdot, longdash, longdashdot, longdashdotdot
|
marker/markers
|
- |
"style:size:color" e.g. "circle:8:FF0000". Styles: circle, diamond, square, triangle, star, x, plus, dash, dot, none
|
style/styleId
|
- | Chart style (1-48, or none) |
transparency |
- | Series transparency (0-100%) |
opacity/alpha
|
- | Series opacity (0-100%) |
gradient |
- | "color1-color2:angle" |
gradients |
- | Per-series gradients (semicolon-separated) |
secondaryAxis/secondary
|
- | Comma-separated 1-based series indices for secondary axis |
officecli set report.docx /chart[1] --prop title="Updated Title" --prop legend=bottomBased on OfficeCli v1.0.9