Appearance
Interface: ChartPropsBase ​
Extended by ​
Properties ​
chartArea? ​
optionalchartArea?:ChartAreaProps
PowerPoint: Format Chart Area (Fill & Border/Line)
chartColors? ​
optionalchartColors?:string[]
Series colours, cycled: series (or, on a pie/doughnut, data point) n takes chartColors[n % chartColors.length], so a shorter list repeats rather than running out.
Omitting it, or passing an empty array, both mean the same thing — the built-in default palette for the chart type. Two spellings of "I named no colours"; there is no third state that suppresses the fills.
chartColorsOpacity? ​
optionalchartColorsOpacity?:number
Series fill opacity, as a percentage from 0 to 100.
0 means what it says: a fully transparent fill, so the series is invisible. That is a deliberate meaning, not a shorthand for "unset"; leave the option out for an opaque fill. A value outside 0-100 clamps with a warning, and NaN throws.
Example ​
ts
50 // 50% opaquedataBorder? ​
optionaldataBorder?:StrokeProps
displayBlanksAs? ​
optionaldisplayBlanksAs?:"zero"|"gap"|"span"
What a plot draws where a value is missing (ST_DispBlanksAs).
Default ​
ts
'gap'invertedColors? ​
optionalinvertedColors?:string[]
lang? ​
optionallang?:string
layout? ​
optionallayout?:PositionProps
leaderLineColor? ​
optionalleaderLineColor?:string
Leader line color (pie/doughnut data labels). Requires showLeaderLines: true. When omitted, PowerPoint applies its automatic leader-line color.
Example ​
ts
'FF0000' // red leader linesleaderLineSize? ​
optionalleaderLineSize?:number
Leader line width, in points (pie/doughnut data labels). Requires showLeaderLines: true.
Default ​
ts
0.75Example ​
ts
1.5plotArea? ​
optionalplotArea?:ChartPropsFillLine
PowerPoint: Format Plot Area (Fill & Border/Line)
seriesOptions? ​
optionalseriesOptions?:ChartSeriesOpts[]
Per-series style overrides.
Element at index N applies to the Nth series of the chart — the same number the series carries in <c:idx>/<c:order>. For most plots that is its position in data; on a combo it counts across every subchart in order, so a bar(2) + line(1) combo reaches the line at index 2. A scatter or bubble series counts one lower than its position, because the X row in front of it is not a series: seriesOptions[0] styles data[1]. Missing indices or unset fields fall back to the chart-level option.
Not every field reaches every plot, and a stated field that cannot be resolved warns (chart/option-not-supported) naming itself rather than being dropped in silence:
colorreaches every plot that colours series:bar,bar3d,area,line,radar,scatter,bubble,bubble3d, and (as the volume bar and the close marker)stock.lineSizereaches only a series that strokes itself:line,radar,scatter,bubbleandbubble3d. A bar or an area takes its outline fromdataBorder; a stock price series draws no line at all.- the
dataLabel*fields need a per-series<c:dLbls>, which the category-axis family andscatteremit. A bubble chart's label block is chart-level, anddataLabelFormatCodein particular has no referent onscatter, whose label builders emit no number format. pie,doughnutandsurfaceread nothing: a pie colours points and a surface colours bands, so a per-series override has no referent even in principle.
shadow? ​
optionalshadow?:ShadowProps
showBubbleSize? ​
optionalshowBubbleSize?:boolean
Show each bubble's size value as a data label (bubble / bubble3D charts only). Has no effect on other chart types.
Default ​
ts
falseshowLabel? ​
optionalshowLabel?:boolean
Enable data labels, with a meaning that is overloaded per plot type — it is not a plain duplicate of ChartPropsBase.showValue:
- pie / doughnut: shows the category name (
c:showCatName); - scatter: turns on the labels ChartPropsDataLabel.dataLabelFormatScatter describes, and shows nothing without it:
'XY'shows both the value and the category name, and'custom'/'customXY'show each point's label text; - chartEx (waterfall/funnel/…): OR-combined with
showValueto show the value label.
For the common "show the numeric value" case on standard plots, prefer showValue.
Default ​
ts
falseshowLeaderLines? ​
optionalshowLeaderLines?:boolean
showLegend? ​
optionalshowLegend?:boolean
Default ​
ts
falseshowPercent? ​
optionalshowPercent?:boolean
Default ​
ts
falseshowSerName? ​
optionalshowSerName?:boolean
Default ​
ts
falseshowTitle? ​
optionalshowTitle?:boolean
Default ​
ts
falseshowValue? ​
optionalshowValue?:boolean
Default ​
ts
falsev3DPerspective? ​
optionalv3DPerspective?:number
3D Perspecitve
- range: 0-120
Default ​
ts
30v3DRAngAx? ​
optionalv3DRAngAx?:boolean
Right Angle Axes
- Shows chart from first-person perspective
- Overrides
v3DPerspectivewhen true - PowerPoint: Chart Options > 3-D Rotation
Default ​
ts
falsev3DRotX? ​
optionalv3DRotX?:number
X Rotation
- PowerPoint: Chart Options > 3-D Rotation
- range: 0-359.9
Default ​
ts
30v3DRotY? ​
optionalv3DRotY?:number
Y Rotation
- range: 0-359.9
Default ​
ts
30