Appearance
@shbernal/pptxgenjs / index / IChartOptsLib
Interface: IChartOptsLib
Defined in: core-interfaces.ts:2695
Extends
Properties
_type?
optional_type?:CHART_NAME|IChartMulti[]
Defined in: core-interfaces.ts:2696
align?
optionalalign?:HAlign
Defined in: core-interfaces.ts:521
Horizontal alignment
Default
ts
'left'Inherited from
altText?
optionalaltText?:string
Defined in: core-interfaces.ts:2693
Alt Text value ("How would you describe this object and its contents to someone who is blind?")
- PowerPoint: [right-click on a chart] > "Edit Alt Text..."
Inherited from
axisPos?
optionalaxisPos?:"r"|"b"|"l"|"t"
Defined in: core-interfaces.ts:2198
Axis position
Inherited from
bar3DShape?
optionalbar3DShape?:string
Defined in: core-interfaces.ts:2450
Inherited from
barDir?
optionalbarDir?:string
Defined in: core-interfaces.ts:2451
Inherited from
barGapDepthPct?
optionalbarGapDepthPct?:number
Defined in: core-interfaces.ts:2452
Inherited from
barGapWidthPct?
optionalbarGapWidthPct?: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
150Inherited from
barGrouping?
optionalbarGrouping?:string
Defined in: core-interfaces.ts:2460
Inherited from
barOverlapPct?
optionalbarOverlapPct?: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
0Inherited from
barSeriesLine?
optionalbarSeriesLine?: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.
trueuses 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
undefinedExamples
ts
truets
{ color: '777777', size: 1, style: 'dash' }Inherited from
bold?
optionalbold?:boolean
Defined in: core-interfaces.ts:526
Bold style
Default
ts
falseInherited from
border?
optionalborder?:BorderProps
Defined in: core-interfaces.ts:2296
Deprecated
v3.11.0 - use plotArea.border
Inherited from
breakLine?
optionalbreakLine?:boolean
Defined in: core-interfaces.ts:531
Add a line-break
Default
ts
falseInherited from
bullet?
optionalbullet?:boolean| {characterCode?:string;code?:string;color?:string;fontFace?:string;image?: {data?:string;path?:string; };indent?:number;marginPt?:number;numberStartAt?:number;numberType?:"alphaLcParenBoth"|"alphaLcParenR"|"alphaLcPeriod"|"alphaUcParenBoth"|"alphaUcParenR"|"alphaUcPeriod"|"arabicParenBoth"|"arabicParenR"|"arabicPeriod"|"arabicPlain"|"romanLcParenBoth"|"romanLcParenR"|"romanLcPeriod"|"romanUcParenBoth"|"romanUcParenR"|"romanUcPeriod";size?:number;startAt?:number;style?:string;type?:"number"|"bullet"; }
Defined in: core-interfaces.ts:547
Add standard or custom bullet
- use
truefor standard bullet - pass object options for custom bullet
Union Members
boolean
Type Literal
{ characterCode?: string; code?: string; color?: string; fontFace?: string; image?: { data?: string; path?: string; }; indent?: number; marginPt?: number; numberStartAt?: number; numberType?: "alphaLcParenBoth" | "alphaLcParenR" | "alphaLcPeriod" | "alphaUcParenBoth" | "alphaUcParenR" | "alphaUcPeriod" | "arabicParenBoth" | "arabicParenR" | "arabicPeriod" | "arabicPlain" | "romanLcParenBoth" | "romanLcParenR" | "romanLcPeriod" | "romanUcParenBoth" | "romanUcParenR" | "romanUcPeriod"; size?: number; startAt?: number; style?: string; type?: "number" | "bullet"; }
characterCode?
optionalcharacterCode?:string
Bullet character code (unicode)
Since
v3.3.0
Example
ts
'25BA' // 'BLACK RIGHT-POINTING POINTER' (U+25BA)code?
optionalcode?:string
Bullet code (unicode)
Deprecated
v3.3.0 - use characterCode
color?
optionalcolor?:string
Bullet glyph color (separate from the text run color)
Since
v4.0.0
Example
ts
'FF0000' // red bulletfontFace?
optionalfontFace?:string
Bullet glyph font typeface (<a:buFont/>), e.g. for symbol-font bullets
Since
v4.0.0
Example
ts
'Wingdings' // render `characterCode` using the Wingdings fontimage?
optionalimage?:object
Image to use as the bullet glyph ("picture bullet", <a:buBlip>)
- supply an image
path(filesystem/URL) or base64data(same forms asaddImage()) - raster formats (PNG/JPG/GIF) are recommended; use
sizeto scale relative to the text height - takes precedence over
type/characterCodewhen set
Since
v4.0.0
Examples
ts
image: { path: 'images/star.png' }ts
image: { data: 'image/png;base64,iVBOR...' }image.data?
optionaldata?:string
image.path?
optionalpath?:string
indent?
optionalindent?:number
Indentation (space between bullet and text) (points)
Since
v3.3.0
Default
ts
27 // DEF_BULLET_MARGINExample
ts
10 // Indents text 10 points from bulletmarginPt?
optionalmarginPt?:number
Margin between bullet and text
Since
v3.2.1
Deprecated
v3.3.0 - use indent
numberStartAt?
optionalnumberStartAt?:number
Number bullets start at
Since
v3.3.0
Default
ts
1Example
ts
10 // numbered bullets start with 10numberType?
optionalnumberType?:"alphaLcParenBoth"|"alphaLcParenR"|"alphaLcPeriod"|"alphaUcParenBoth"|"alphaUcParenR"|"alphaUcPeriod"|"arabicParenBoth"|"arabicParenR"|"arabicPeriod"|"arabicPlain"|"romanLcParenBoth"|"romanLcParenR"|"romanLcPeriod"|"romanUcParenBoth"|"romanUcParenR"|"romanUcPeriod"
Number type
Since
v3.3.0
Example
ts
'romanLcParenR' // roman numerals lower-case with paranthesis rightsize?
optionalsize?:number
Bullet glyph size as a percentage of the run's text size (25–400)
Since
v4.0.0
Default
ts
100Example
ts
80 // bullet glyph is 80% of the text sizestartAt?
optionalstartAt?:number
Number to start with (only applies to type:number)
Deprecated
v3.3.0 - use numberStartAt
style?
optionalstyle?:string
Number type
Deprecated
v3.3.0 - use numberType
type?
optionaltype?:"number"|"bullet"
Bullet type
Default
ts
bulletDefault
ts
falseInherited from
cap?
optionalcap?:LineCap
Defined in: core-interfaces.ts:2150
MS-PPT > Chart format > Format Major Gridlines > Line > Cap type
- line cap type
Default
ts
flatInherited from
caps?
optionalcaps?:"small"|"all"|"none"
Defined in: core-interfaces.ts:663
Text capitalization
'all'= ALL CAPS'small'= Small Caps'none'= no override (default)- PowerPoint: Font > Effects > All Caps / Small Caps
Inherited from
catAxes?
optionalcatAxes?:IChartPropsAxisCat[]
Defined in: core-interfaces.ts:2313
Multi-Chart prop: array of cat axes
Inherited from
catAxisBaseTimeUnit?
optionalcatAxisBaseTimeUnit?:string
Defined in: core-interfaces.ts:2314
Inherited from
IChartOpts.catAxisBaseTimeUnit
catAxisCrossesAt?
optionalcatAxisCrossesAt?:number|"autoZero"
Defined in: core-interfaces.ts:2315
Inherited from
catAxisHidden?
optionalcatAxisHidden?:boolean
Defined in: core-interfaces.ts:2316
Inherited from
catAxisLabelColor?
optionalcatAxisLabelColor?:string
Defined in: core-interfaces.ts:2317
Inherited from
catAxisLabelFontBold?
optionalcatAxisLabelFontBold?:boolean
Defined in: core-interfaces.ts:2318
Inherited from
IChartOpts.catAxisLabelFontBold
catAxisLabelFontFace?
optionalcatAxisLabelFontFace?:string
Defined in: core-interfaces.ts:2319
Inherited from
IChartOpts.catAxisLabelFontFace
catAxisLabelFontItalic?
optionalcatAxisLabelFontItalic?:boolean
Defined in: core-interfaces.ts:2320
Inherited from
IChartOpts.catAxisLabelFontItalic
catAxisLabelFontSize?
optionalcatAxisLabelFontSize?:number
Defined in: core-interfaces.ts:2321
Inherited from
IChartOpts.catAxisLabelFontSize
catAxisLabelFormatCode?
optionalcatAxisLabelFormatCode?:string
Defined in: core-interfaces.ts:2328
Number format code for the category (X) axis labels on scatter and bubble charts. Falls back to valAxisLabelFormatCode when not set.
- Example:
'0.00','#,##0','mmm yyyy' - PowerPoint: Format Axis > Number > Format Code
Inherited from
IChartOpts.catAxisLabelFormatCode
catAxisLabelFrequency?
optionalcatAxisLabelFrequency?:string
Defined in: core-interfaces.ts:2329
Inherited from
IChartOpts.catAxisLabelFrequency
catAxisLabelPos?
optionalcatAxisLabelPos?:"none"|"high"|"low"|"nextTo"
Defined in: core-interfaces.ts:2330
Inherited from
catAxisLabelRotate?
optionalcatAxisLabelRotate?:number
Defined in: core-interfaces.ts:2331
Inherited from
catAxisLineColor?
optionalcatAxisLineColor?:string
Defined in: core-interfaces.ts:2332
Inherited from
catAxisLineShow?
optionalcatAxisLineShow?:boolean
Defined in: core-interfaces.ts:2333
Inherited from
catAxisLineSize?
optionalcatAxisLineSize?:number
Defined in: core-interfaces.ts:2334
Inherited from
catAxisLineStyle?
optionalcatAxisLineStyle?:"dash"|"solid"|"dot"
Defined in: core-interfaces.ts:2335
Inherited from
catAxisMajorTickMark?
optionalcatAxisMajorTickMark?:ChartAxisTickMark
Defined in: core-interfaces.ts:2336
Inherited from
IChartOpts.catAxisMajorTickMark
catAxisMajorTimeUnit?
optionalcatAxisMajorTimeUnit?:string
Defined in: core-interfaces.ts:2337
Inherited from
IChartOpts.catAxisMajorTimeUnit
catAxisMajorUnit?
optionalcatAxisMajorUnit?:number
Defined in: core-interfaces.ts:2338
Inherited from
catAxisMaxVal?
optionalcatAxisMaxVal?:number
Defined in: core-interfaces.ts:2339
Inherited from
catAxisMinorTickMark?
optionalcatAxisMinorTickMark?:ChartAxisTickMark
Defined in: core-interfaces.ts:2340
Inherited from
IChartOpts.catAxisMinorTickMark
catAxisMinorTimeUnit?
optionalcatAxisMinorTimeUnit?:string
Defined in: core-interfaces.ts:2341
Inherited from
IChartOpts.catAxisMinorTimeUnit
catAxisMinorUnit?
optionalcatAxisMinorUnit?:number
Defined in: core-interfaces.ts:2342
Inherited from
catAxisMinVal?
optionalcatAxisMinVal?:number
Defined in: core-interfaces.ts:2343
Inherited from
catAxisMultiLevelLabels?
optionalcatAxisMultiLevelLabels?:boolean
Defined in: core-interfaces.ts:2345
Since
v3.11.0
Inherited from
IChartOpts.catAxisMultiLevelLabels
catAxisOrientation?
optionalcatAxisOrientation?:"minMax"|"maxMin"
Defined in: core-interfaces.ts:2346
Inherited from
catAxisTitle?
optionalcatAxisTitle?:string
Defined in: core-interfaces.ts:2347
Inherited from
catAxisTitleColor?
optionalcatAxisTitleColor?:string
Defined in: core-interfaces.ts:2348
Inherited from
catAxisTitleFontFace?
optionalcatAxisTitleFontFace?:string
Defined in: core-interfaces.ts:2349
Inherited from
IChartOpts.catAxisTitleFontFace
catAxisTitleFontSize?
optionalcatAxisTitleFontSize?:number
Defined in: core-interfaces.ts:2350
Inherited from
IChartOpts.catAxisTitleFontSize
catAxisTitleRotate?
optionalcatAxisTitleRotate?:number
Defined in: core-interfaces.ts:2351
Inherited from
catGridLine?
optionalcatGridLine?:OptsChartGridLine
Defined in: core-interfaces.ts:2352
Inherited from
catLabelFormatCode?
optionalcatLabelFormatCode?:string
Defined in: core-interfaces.ts:2353
Inherited from
chartArea?
optionalchartArea?:IChartAreaProps
Defined in: core-interfaces.ts:2286
PowerPoint: Format Chart Area (Fill & Border/Line)
Since
v3.11
Inherited from
chartColors?
optionalchartColors?:string[]
Defined in: core-interfaces.ts:2199
Inherited from
chartColorsOpacity?
optionalchartColorsOpacity?:number
Defined in: core-interfaces.ts:2204
opacity (0 - 100)
Example
ts
50 // 50% opaqueInherited from
color?
optionalcolor?:string
Defined in: core-interfaces.ts:671
Text color
HexColororThemeColor- MS-PPT > Format Shape > Text Options > Text Fill & Outline > Text Fill > Color
Examples
ts
'FF0000' // hex color (red)ts
pptx.SchemeColor.text1 // Theme color (Text1)Inherited from
dataBorder?
optionaldataBorder?:BorderProps
Defined in: core-interfaces.ts:2205
Inherited from
dataLabelBkgrdColors?
optionaldataLabelBkgrdColors?:boolean
Defined in: core-interfaces.ts:2599
Inherited from
IChartOpts.dataLabelBkgrdColors
dataLabelColor?
optionaldataLabelColor?:string
Defined in: core-interfaces.ts:2600
Inherited from
dataLabelFontBold?
optionaldataLabelFontBold?:boolean
Defined in: core-interfaces.ts:2601
Inherited from
dataLabelFontFace?
optionaldataLabelFontFace?:string
Defined in: core-interfaces.ts:2602
Inherited from
dataLabelFontItalic?
optionaldataLabelFontItalic?:boolean
Defined in: core-interfaces.ts:2603
Inherited from
IChartOpts.dataLabelFontItalic
dataLabelFontSize?
optionaldataLabelFontSize?:number
Defined in: core-interfaces.ts:2604
Inherited from
dataLabelFormatCode?
optionaldataLabelFormatCode?:string
Defined in: core-interfaces.ts:2611
Data label format code
Examples
ts
'#%' // round percentts
'0.00%' // shows values as '0.00%'ts
'$0.00' // shows values as '$0.00'Inherited from
IChartOpts.dataLabelFormatCode
dataLabelFormatScatter?
optionaldataLabelFormatScatter?:"custom"|"customXY"|"XY"
Defined in: core-interfaces.ts:2612
Inherited from
IChartOpts.dataLabelFormatScatter
dataLabelPosition?
optionaldataLabelPosition?:"r"|"b"|"ctr"|"l"|"t"|"bestFit"|"inEnd"|"outEnd"
Defined in: core-interfaces.ts:2613
Inherited from
dataNoEffects?
optionaldataNoEffects?:boolean
Defined in: core-interfaces.ts:2485
Inherited from
dataTableFontSize?
optionaldataTableFontSize?:number
Defined in: core-interfaces.ts:2616
Inherited from
dataTableFormatCode?
optionaldataTableFormatCode?:string
Defined in: core-interfaces.ts:2624
Data table format code
Since
v3.3.0
Examples
ts
'#%' // round percentts
'0.00%' // shows values as '0.00%'ts
'$0.00' // shows values as '$0.00'Inherited from
IChartOpts.dataTableFormatCode
displayBlanksAs?
optionaldisplayBlanksAs?:"zero"|"gap"|"span"
Defined in: core-interfaces.ts:2206
Inherited from
fill?
optionalfill?:string
Defined in: core-interfaces.ts:2300
Deprecated
v3.11.0 - use plotArea.fill
Inherited from
firstSliceAng?
optionalfirstSliceAng?:number
Defined in: core-interfaces.ts:2555
MS-PPT > Format chart > Format Data Series > Series Options > "Angle of first slice"
- angle (degrees)
- range: 0-359
Since
v3.4.0
Default
ts
0Inherited from
fontFace?
optionalfontFace?:string
Defined in: core-interfaces.ts:681
Font face name
Applied to the Latin (<a:latin>) and complex-script (<a:cs>) font slots, matching how PowerPoint writes a font picked from the UI. The East Asian slot (<a:ea>) is left to inherit from the theme unless fontFaceEA is set — forcing a Latin-only face into the East Asian slot duplicates/ghosts text in Office 365.
Example
ts
'Arial' // Arial fontInherited from
fontFaceEA?
optionalfontFaceEA?:string
Defined in: core-interfaces.ts:689
East Asian font face name (<a:ea> slot), used to render CJK (Chinese/Japanese/Korean) glyphs
Set this when the East Asian font differs from fontFace. When omitted, <a:ea> inherits the theme East Asian font, which is what PowerPoint does for Latin fonts.
Example
ts
'微軟正黑體' // render East Asian glyphs with Microsoft JhengHeiInherited from
fontSize?
optionalfontSize?:number
Defined in: core-interfaces.ts:694
Font size
Example
ts
12 // Font size 12Inherited from
h?
optionalh?:Coord
Defined in: core-interfaces.ts:47
Height
- inches or percentage
Examples
ts
10.25 // height in inchests
'75%' // height as percentage of slide sizeInherited from
highlight?
optionalhighlight?:string
Defined in: core-interfaces.ts:699
Text highlight color (hex format)
Example
ts
'FFFF00' // yellowInherited from
holeSize?
optionalholeSize?:number
Defined in: core-interfaces.ts:2486
Inherited from
invertedColors?
optionalinvertedColors?:string[]
Defined in: core-interfaces.ts:2207
Inherited from
italic?
optionalitalic?:boolean
Defined in: core-interfaces.ts:704
italic style
Default
ts
falseInherited from
lang?
optionallang?:string
Defined in: core-interfaces.ts:2208
language
- ISO 639-1 standard language code
Default
ts
'en-US' // english USExample
ts
'fr-CA' // french CanadianInherited from
layout?
optionallayout?:PositionProps
Defined in: core-interfaces.ts:2209
Inherited from
leaderLineColor?
optionalleaderLineColor?:string
Defined in: core-interfaces.ts:2227
Leader line color (pie/doughnut data labels). Requires showLeaderLines: true. When omitted, PowerPoint applies its automatic leader-line color.
Example
ts
'FF0000' // red leader linesInherited from
leaderLineSize?
optionalleaderLineSize?:number
Defined in: core-interfaces.ts:2233
Leader line width, in points (pie/doughnut data labels). Requires showLeaderLines: true.
Default
ts
0.75Example
ts
1.5Inherited from
legendColor?
optionallegendColor?:string
Defined in: core-interfaces.ts:2636
Inherited from
legendFontFace?
optionallegendFontFace?:string
Defined in: core-interfaces.ts:2637
Inherited from
legendFontSize?
optionallegendFontSize?:number
Defined in: core-interfaces.ts:2638
Inherited from
legendLayout?
optionallegendLayout?:PositionProps
Defined in: core-interfaces.ts:2652
Manual legend placement within the chart area.
Each of x/y/w/h is a fraction (0-1) of the chart's width/height. x/y position the legend's top-left corner relative to the chart edge; w/h set its size. Each axis is independent: provide only x to move the legend horizontally while leaving vertical placement and size automatic. Setting this overrides the automatic placement implied by legendPos.
Has no effect unless showLegend is true.
Example
ts
{ x: 0.7, y: 0.3, w: 0.25, h: 0.4 }Inherited from
legendPos?
optionallegendPos?:"r"|"b"|"tr"|"l"|"t"
Defined in: core-interfaces.ts:2653
Inherited from
lineCap?
optionallineCap?:LineCap
Defined in: core-interfaces.ts:2494
MS-PPT > Chart format > Format Data Series > Line > Cap type
- line cap type
Default
ts
flatInherited from
lineDash?
optionallineDash?:ChartLineDash
Defined in: core-interfaces.ts:2500
MS-PPT > Chart format > Format Data Series > Line > Dash type (chart-level default)
- applies to every series that has no entry in
lineDashValues
Default
ts
solidInherited from
lineDashValues?
optionallineDashValues?:ChartLineDash[]
Defined in: core-interfaces.ts:2506
Per-series dash type overrides; index matches the series order in the data array.
- entries shorter than the series count fall back to
lineDash - example:
['solid', 'dash', 'lgDash']gives each series its own dash pattern
Inherited from
lineDataSymbol?
optionallineDataSymbol?:"none"|"square"|"triangle"|"circle"|"dash"|"diamond"|"dot"
Defined in: core-interfaces.ts:2512
MS-PPT > Chart format > Format Data Series > Marker Options > Built-in > Type
- marker type
Default
ts
circleInherited from
lineDataSymbolLineColor?
optionallineDataSymbolLineColor?:string
Defined in: core-interfaces.ts:2518
MS-PPT > Chart format > Format Data Series > [Marker Options] > Border > Color
- border color
Default
ts
circleInherited from
IChartOpts.lineDataSymbolLineColor
lineDataSymbolLineSize?
optionallineDataSymbolLineSize?:number
Defined in: core-interfaces.ts:2524
MS-PPT > Chart format > Format Data Series > [Marker Options] > Border > Width
- border width (points)
Default
ts
0.75Inherited from
IChartOpts.lineDataSymbolLineSize
lineDataSymbolSize?
optionallineDataSymbolSize?:number
Defined in: core-interfaces.ts:2531
MS-PPT > Chart format > Format Data Series > Marker Options > Built-in > Size
- marker size
- range: 2-72
Default
ts
6Inherited from
lineSize?
optionallineSize?:number
Defined in: core-interfaces.ts:2538
MS-PPT > Chart format > Format Data Series > Line > Width
- line width (points)
- range: 0-1584
Default
ts
2Inherited from
lineSmooth?
optionallineSmooth?:boolean
Defined in: core-interfaces.ts:2544
MS-PPT > Chart format > Format Data Series > Line > Smoothed line
- "Smoothed line"
Default
ts
falseInherited from
objectLock?
optionalobjectLock?:ObjectLockProps
Defined in: core-interfaces.ts:819
Object lock flags (DrawingML a:spLocks / a:picLocks / a:graphicFrameLocks)
- restrict how the object can be manipulated in PowerPoint (e.g. prevent moving, resizing, or grouping)
- each flag maps 1:1 to the OOXML attribute of the same name; only flags set to
trueare emitted - PowerPoint UI: Selection Pane / right-click protections (most locks are honored at edit time, not as a password)
- flags only apply to the object types that support them (see each flag); flags set on an unsupported object type are ignored with a console warning
Since
v4.0.0
Examples
ts
{ noMove: true, noResize: true } // pin an object in placets
{ noGrp: true } // exclude from groupingInherited from
objectName?
optionalobjectName?:string
Defined in: core-interfaces.ts:799
Object name
- used instead of default "Object N" name
- PowerPoint: Home > Arrange > Selection Pane...
Since
v3.10.0
Default
ts
'Object 1'Example
ts
'Antenna Design 9'Inherited from
plotArea?
optionalplotArea?:IChartPropsFillLine
Defined in: core-interfaces.ts:2291
PowerPoint: Format Plot Area (Fill & Border/Line)
Since
v3.11
Inherited from
radarStyle?
optionalradarStyle?:"standard"|"marker"|"filled"
Defined in: core-interfaces.ts:2563
MS-PPT > Chart Type > Waterfall
- radar chart type
Default
ts
standardInherited from
secondaryCatAxis?
optionalsecondaryCatAxis?:boolean
Defined in: core-interfaces.ts:2358
Whether data should use secondary category axis (instead of primary)
Default
ts
falseInherited from
secondaryValAxis?
optionalsecondaryValAxis?:boolean
Defined in: core-interfaces.ts:2392
Whether data should use secondary value axis (instead of primary)
Default
ts
falseInherited from
serAxisBaseTimeUnit?
optionalserAxisBaseTimeUnit?:string
Defined in: core-interfaces.ts:2362
Inherited from
IChartOpts.serAxisBaseTimeUnit
serAxisHidden?
optionalserAxisHidden?:boolean
Defined in: core-interfaces.ts:2363
Inherited from
serAxisLabelColor?
optionalserAxisLabelColor?:string
Defined in: core-interfaces.ts:2364
Inherited from
serAxisLabelFontBold?
optionalserAxisLabelFontBold?:boolean
Defined in: core-interfaces.ts:2365
Inherited from
IChartOpts.serAxisLabelFontBold
serAxisLabelFontFace?
optionalserAxisLabelFontFace?:string
Defined in: core-interfaces.ts:2366
Inherited from
IChartOpts.serAxisLabelFontFace
serAxisLabelFontItalic?
optionalserAxisLabelFontItalic?:boolean
Defined in: core-interfaces.ts:2367
Inherited from
IChartOpts.serAxisLabelFontItalic
serAxisLabelFontSize?
optionalserAxisLabelFontSize?:number
Defined in: core-interfaces.ts:2368
Inherited from
IChartOpts.serAxisLabelFontSize
serAxisLabelFrequency?
optionalserAxisLabelFrequency?:string
Defined in: core-interfaces.ts:2369
Inherited from
IChartOpts.serAxisLabelFrequency
serAxisLabelPos?
optionalserAxisLabelPos?:"none"|"high"|"low"|"nextTo"
Defined in: core-interfaces.ts:2370
Inherited from
serAxisLineColor?
optionalserAxisLineColor?:string
Defined in: core-interfaces.ts:2371
Inherited from
serAxisLineShow?
optionalserAxisLineShow?:boolean
Defined in: core-interfaces.ts:2372
Inherited from
serAxisMajorTimeUnit?
optionalserAxisMajorTimeUnit?:string
Defined in: core-interfaces.ts:2373
Inherited from
IChartOpts.serAxisMajorTimeUnit
serAxisMajorUnit?
optionalserAxisMajorUnit?:number
Defined in: core-interfaces.ts:2374
Inherited from
serAxisMinorTimeUnit?
optionalserAxisMinorTimeUnit?:string
Defined in: core-interfaces.ts:2375
Inherited from
IChartOpts.serAxisMinorTimeUnit
serAxisMinorUnit?
optionalserAxisMinorUnit?:number
Defined in: core-interfaces.ts:2376
Inherited from
serAxisOrientation?
optionalserAxisOrientation?:string
Defined in: core-interfaces.ts:2377
Inherited from
serAxisTitle?
optionalserAxisTitle?:string
Defined in: core-interfaces.ts:2378
Inherited from
serAxisTitleColor?
optionalserAxisTitleColor?:string
Defined in: core-interfaces.ts:2379
Inherited from
serAxisTitleFontFace?
optionalserAxisTitleFontFace?:string
Defined in: core-interfaces.ts:2380
Inherited from
IChartOpts.serAxisTitleFontFace
serAxisTitleFontSize?
optionalserAxisTitleFontSize?:number
Defined in: core-interfaces.ts:2381
Inherited from
IChartOpts.serAxisTitleFontSize
serAxisTitleRotate?
optionalserAxisTitleRotate?:number
Defined in: core-interfaces.ts:2382
Inherited from
serGridLine?
optionalserGridLine?:OptsChartGridLine
Defined in: core-interfaces.ts:2383
Inherited from
seriesOptions?
optionalseriesOptions?:IChartSeriesOpts[]
Defined in: core-interfaces.ts:2307
Per-series style overrides. Element at index N applies to the series at data[N]. Missing indices or unset fields fall back to the chart-level option.
Since
v4.0.0
Inherited from
serLabelFormatCode?
optionalserLabelFormatCode?:string
Defined in: core-interfaces.ts:2384
Inherited from
shadow?
optionalshadow?:ShadowProps
Defined in: core-interfaces.ts:2210
Inherited from
showBubbleSize?
optionalshowBubbleSize?:boolean
Defined in: core-interfaces.ts:2216
Show each bubble's size value as a data label (bubble / bubble3D charts only). Has no effect on other chart types.
Default
ts
falseInherited from
showCatAxisTitle?
optionalshowCatAxisTitle?:boolean
Defined in: core-interfaces.ts:2359
Inherited from
showDataTable?
optionalshowDataTable?:boolean
Defined in: core-interfaces.ts:2629
Whether to show a data table adjacent to the chart
Default
ts
falseInherited from
showDataTableHorzBorder?
optionalshowDataTableHorzBorder?:boolean
Defined in: core-interfaces.ts:2630
Inherited from
IChartOpts.showDataTableHorzBorder
showDataTableKeys?
optionalshowDataTableKeys?:boolean
Defined in: core-interfaces.ts:2631
Inherited from
showDataTableOutline?
optionalshowDataTableOutline?:boolean
Defined in: core-interfaces.ts:2632
Inherited from
IChartOpts.showDataTableOutline
showDataTableVertBorder?
optionalshowDataTableVertBorder?:boolean
Defined in: core-interfaces.ts:2633
Inherited from
IChartOpts.showDataTableVertBorder
showLabel?
optionalshowLabel?:boolean
Defined in: core-interfaces.ts:2220
Default
ts
falseInherited from
showLeaderLines?
optionalshowLeaderLines?:boolean
Defined in: core-interfaces.ts:2221
Inherited from
showLegend?
optionalshowLegend?:boolean
Defined in: core-interfaces.ts:2237
Default
ts
falseInherited from
showPercent?
optionalshowPercent?:boolean
Defined in: core-interfaces.ts:2241
Default
ts
falseInherited from
showSerAxisTitle?
optionalshowSerAxisTitle?:boolean
Defined in: core-interfaces.ts:2385
Inherited from
showSerName?
optionalshowSerName?:boolean
Defined in: core-interfaces.ts:2245
Default
ts
falseInherited from
showTitle?
optionalshowTitle?:boolean
Defined in: core-interfaces.ts:2249
Default
ts
falseInherited from
showValAxisTitle?
optionalshowValAxisTitle?:boolean
Defined in: core-interfaces.ts:2393
Inherited from
showValue?
optionalshowValue?:boolean
Defined in: core-interfaces.ts:2253
Default
ts
falseInherited from
size?
optionalsize?:number
Defined in: core-interfaces.ts:2159
Gridline size (points)
Inherited from
softBreakBefore?
optionalsoftBreakBefore?:boolean
Defined in: core-interfaces.ts:717
Add a soft line-break (shift+enter) before line text content
Default
ts
falseSince
v3.5.0
Inherited from
style?
optionalstyle?:"none"|"dash"|"solid"|"dot"
Defined in: core-interfaces.ts:2163
Gridline style
Inherited from
tabStops?
optionaltabStops?:object[]
Defined in: core-interfaces.ts:723
tab stops
- PowerPoint: Paragraph > Tabs > Tab stop position
alignment?
optionalalignment?:"r"|"ctr"|"l"|"dec"
position
position:
number
Example
ts
[{ position:1 }, { position:3 }] // Set first tab stop to 1 inch, set second tab stop to 3 inchesInherited from
textDirection?
optionaltextDirection?:"horz"|"vert"|"vert270"|"wordArtVert"
Defined in: core-interfaces.ts:732
text direction horz = horizontal vert = rotate 90^ vert270 = rotate 270^ wordArtVert = stacked
Default
ts
'horz'Inherited from
textWarp?
optionaltextWarp?:string
Defined in: core-interfaces.ts:540
Preset text warp / WordArt shape (<a:bodyPr><a:prstTxWarp prst="..">), which bends the text along a preset path (arch, circle, wave, …). The value is an OOXML ST_TextShapeType preset name.
Since
v4.0.0
Examples
ts
'textArchUp' // bend text along an upward arch (e.g. a label following a ring/arc)ts
'textCircle'Inherited from
title?
optionaltitle?:string
Defined in: core-interfaces.ts:2656
Inherited from
titleAlign?
optionaltitleAlign?:string
Defined in: core-interfaces.ts:2657
Inherited from
titleBold?
optionaltitleBold?:boolean
Defined in: core-interfaces.ts:2658
Inherited from
titleColor?
optionaltitleColor?:string
Defined in: core-interfaces.ts:2659
Inherited from
titleFontFace?
optionaltitleFontFace?:string
Defined in: core-interfaces.ts:2660
Inherited from
titleFontSize?
optionaltitleFontSize?:number
Defined in: core-interfaces.ts:2661
Inherited from
titleItalic?
optionaltitleItalic?:boolean
Defined in: core-interfaces.ts:2662
Inherited from
titlePos?
optionaltitlePos?:object
Defined in: core-interfaces.ts:2669
Manual title position (inches), relative to the chart. Each axis is independent: omit x to keep automatic horizontal centering, or omit y to keep automatic vertical placement. Provide at least one.
x?
optionalx?:number
y?
optionaly?:number
Inherited from
titleRotate?
optionaltitleRotate?:number
Defined in: core-interfaces.ts:2670
Inherited from
titleUnderline?
optionaltitleUnderline?:boolean
Defined in: core-interfaces.ts:2663
Inherited from
transparency?
optionaltransparency?:number
Defined in: core-interfaces.ts:739
Transparency (percent)
- MS-PPT > Format Shape > Text Options > Text Fill & Outline > Text Fill > Transparency
- range: 0-100
Default
ts
0Inherited from
underline?
optionalunderline?:object
Defined in: core-interfaces.ts:745
underline properties
- PowerPoint: Font > Color & Underline > Underline Style/Underline Color
color?
optionalcolor?:string
style?
optionalstyle?:"none"|"dash"|"dashHeavy"|"dashLong"|"dashLongHeavy"|"dbl"|"dotDash"|"dotDashHeave"|"dotDotDash"|"dotDotDashHeavy"|"dotted"|"dottedHeavy"|"heavy"|"sng"|"wavy"|"wavyDbl"|"wavyHeavy"
Default
ts
(none)Inherited from
v3DPerspective?
optionalv3DPerspective?:number
Defined in: core-interfaces.ts:2259
3D Perspecitve
- range: 0-120
Default
ts
30Inherited from
v3DRAngAx?
optionalv3DRAngAx?:boolean
Defined in: core-interfaces.ts:2267
Right Angle Axes
- Shows chart from first-person perspective
- Overrides
v3DPerspectivewhen true - PowerPoint: Chart Options > 3-D Rotation
Default
ts
falseInherited from
v3DRotX?
optionalv3DRotX?:number
Defined in: core-interfaces.ts:2274
X Rotation
- PowerPoint: Chart Options > 3-D Rotation
- range: 0-359.9
Default
ts
30Inherited from
v3DRotY?
optionalv3DRotY?:number
Defined in: core-interfaces.ts:2280
Y Rotation
- range: 0-359.9
Default
ts
30Inherited from
valAxes?
optionalvalAxes?:IChartPropsAxisVal[]
Defined in: core-interfaces.ts:2397
Multi-Chart prop: array of val axes
Inherited from
valAxisCrossBetween?
optionalvalAxisCrossBetween?:"between"|"midCat"
Defined in: core-interfaces.ts:2405
Controls where axis values are plotted relative to tick marks
'between'= values plotted between tick marks (default for bar/column/line)'midCat'= values plotted on tick marks (default for scatter/area)- PowerPoint: Format Axis > Axis Options > Axis crosses > On tick marks / Between tick marks
Inherited from
IChartOpts.valAxisCrossBetween
valAxisCrossesAt?
optionalvalAxisCrossesAt?:number|"autoZero"
Defined in: core-interfaces.ts:2398
Inherited from
valAxisDisplayUnit?
optionalvalAxisDisplayUnit?:"billions"|"hundredMillions"|"hundreds"|"hundredThousands"|"millions"|"tenMillions"|"tenThousands"|"thousands"|"trillions"
Defined in: core-interfaces.ts:2406
Inherited from
valAxisDisplayUnitLabel?
optionalvalAxisDisplayUnitLabel?:boolean
Defined in: core-interfaces.ts:2407
Inherited from
IChartOpts.valAxisDisplayUnitLabel
valAxisHidden?
optionalvalAxisHidden?:boolean
Defined in: core-interfaces.ts:2408
Inherited from
valAxisLabelColor?
optionalvalAxisLabelColor?:string
Defined in: core-interfaces.ts:2409
Inherited from
valAxisLabelFontBold?
optionalvalAxisLabelFontBold?:boolean
Defined in: core-interfaces.ts:2410
Inherited from
IChartOpts.valAxisLabelFontBold
valAxisLabelFontFace?
optionalvalAxisLabelFontFace?:string
Defined in: core-interfaces.ts:2411
Inherited from
IChartOpts.valAxisLabelFontFace
valAxisLabelFontItalic?
optionalvalAxisLabelFontItalic?:boolean
Defined in: core-interfaces.ts:2412
Inherited from
IChartOpts.valAxisLabelFontItalic
valAxisLabelFontSize?
optionalvalAxisLabelFontSize?:number
Defined in: core-interfaces.ts:2413
Inherited from
IChartOpts.valAxisLabelFontSize
valAxisLabelFormatCode?
optionalvalAxisLabelFormatCode?:string
Defined in: core-interfaces.ts:2414
Inherited from
IChartOpts.valAxisLabelFormatCode
valAxisLabelPos?
optionalvalAxisLabelPos?:"none"|"high"|"low"|"nextTo"
Defined in: core-interfaces.ts:2415
Inherited from
valAxisLabelRotate?
optionalvalAxisLabelRotate?:number
Defined in: core-interfaces.ts:2416
Inherited from
valAxisLineColor?
optionalvalAxisLineColor?:string
Defined in: core-interfaces.ts:2417
Inherited from
valAxisLineShow?
optionalvalAxisLineShow?:boolean
Defined in: core-interfaces.ts:2418
Inherited from
valAxisLineSize?
optionalvalAxisLineSize?:number
Defined in: core-interfaces.ts:2419
Inherited from
valAxisLineStyle?
optionalvalAxisLineStyle?:"dash"|"solid"|"dot"
Defined in: core-interfaces.ts:2420
Inherited from
valAxisLogScaleBase?
optionalvalAxisLogScaleBase?:number
Defined in: core-interfaces.ts:2426
PowerPoint: Format Axis > Axis Options > Logarithmic scale - Base
- range: 2-99
Since
v3.5.0
Inherited from
IChartOpts.valAxisLogScaleBase
valAxisMajorTickMark?
optionalvalAxisMajorTickMark?:ChartAxisTickMark
Defined in: core-interfaces.ts:2427
Inherited from
IChartOpts.valAxisMajorTickMark
valAxisMajorUnit?
optionalvalAxisMajorUnit?:number
Defined in: core-interfaces.ts:2428
Inherited from
valAxisMaxVal?
optionalvalAxisMaxVal?:number
Defined in: core-interfaces.ts:2429
Inherited from
valAxisMinorTickMark?
optionalvalAxisMinorTickMark?:ChartAxisTickMark
Defined in: core-interfaces.ts:2430
Inherited from
IChartOpts.valAxisMinorTickMark
valAxisMinVal?
optionalvalAxisMinVal?:number
Defined in: core-interfaces.ts:2431
Inherited from
valAxisOrientation?
optionalvalAxisOrientation?:"minMax"|"maxMin"
Defined in: core-interfaces.ts:2432
Inherited from
valAxisTitle?
optionalvalAxisTitle?:string
Defined in: core-interfaces.ts:2433
Inherited from
valAxisTitleColor?
optionalvalAxisTitleColor?:string
Defined in: core-interfaces.ts:2434
Inherited from
valAxisTitleFontFace?
optionalvalAxisTitleFontFace?:string
Defined in: core-interfaces.ts:2435
Inherited from
IChartOpts.valAxisTitleFontFace
valAxisTitleFontSize?
optionalvalAxisTitleFontSize?:number
Defined in: core-interfaces.ts:2436
Inherited from
IChartOpts.valAxisTitleFontSize
valAxisTitleRotate?
optionalvalAxisTitleRotate?:number
Defined in: core-interfaces.ts:2437
Inherited from
valGridLine?
optionalvalGridLine?:OptsChartGridLine
Defined in: core-interfaces.ts:2438
Inherited from
valign?
optionalvalign?:VAlign
Defined in: core-interfaces.ts:770
vertical alignment
Default
ts
'top'Inherited from
valLabelFormatCode?
optionalvalLabelFormatCode?:string
Defined in: core-interfaces.ts:2447
Value label format code
- this also directs Data Table formatting
Since
v3.3.0
Examples
ts
'#%' // round percentts
'0.00%' // shows values as '0.00%'ts
'$0.00' // shows values as '$0.00'Inherited from
w?
optionalw?:Coord
Defined in: core-interfaces.ts:54
Width
- inches or percentage
Examples
ts
10.25 // width in inchests
'75%' // width as percentage of slide sizeInherited from
x?
optionalx?:Coord
Defined in: core-interfaces.ts:33
Horizontal position
- inches or percentage
Examples
ts
10.25 // position in inchests
'75%' // position as percentage of slide sizeInherited from
y?
optionaly?:Coord
Defined in: core-interfaces.ts:40
Vertical position
- inches or percentage
Examples
ts
10.25 // position in inchests
'75%' // position as percentage of slide size