Appearance
@shbernal/ts-pptx / index / ChartOpts
Interface: ChartOpts
Defined in: src/types/chart.ts:807
Options for the modern (Office 2016) chartEx chart types.
NOTE: chartEx charts (currently waterfall) render only in PowerPoint 2016+/Microsoft 365. In older Office, Google Slides, Keynote and LibreOffice a fallback placeholder shows instead.
Extends
ChartPropsAxisCat.ChartPropsAxisSer.ChartPropsAxisVal.ChartPropsBase.ChartPropsChartBar.ChartPropsChartDoughnut.ChartPropsChartLine.ChartPropsChartPie.ChartPropsChartRadar.ChartPropsChartWaterfall.ChartPropsChartHistogram.ChartPropsChartBoxWhisker.ChartPropsChartRegionMap.ChartPropsChartStock.ChartPropsChartSurface.ChartPropsDataLabel.ChartPropsDataTable.ChartPropsLegend.ChartPropsTitle.ObjectNameProps.OptsChartGridLine.PositionProps
Properties
align?
optionalalign?:HAlign
Defined in: src/types/text.ts:18
Horizontal alignment
Default
ts
'left'Inherited from
altText?
optionalaltText?:string
Defined in: src/types/chart.ts:840
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..."
Overrides
axisPos?
optionalaxisPos?:"r"|"b"|"t"|"l"
Defined in: src/types/chart.ts:219
Axis position
Inherited from
bar3DShape?
optionalbar3DShape?:string
Defined in: src/types/chart.ts:473
Inherited from
barDir?
optionalbarDir?:string
Defined in: src/types/chart.ts:474
Inherited from
barGapDepthPct?
optionalbarGapDepthPct?:number
Defined in: src/types/chart.ts:475
Inherited from
ChartPropsChartBar.barGapDepthPct
barGapWidthPct?
optionalbarGapWidthPct?:number
Defined in: src/types/chart.ts:482
MS-PPT > Format chart > Format Data Point > Series Options > "Gap Width"
- width (percent)
- range:
0-500
Default
ts
150Inherited from
ChartPropsChartBar.barGapWidthPct
barGrouping?
optionalbarGrouping?:string
Defined in: src/types/chart.ts:483
Inherited from
ChartPropsChartBar.barGrouping
barOverlapPct?
optionalbarOverlapPct?:number
Defined in: src/types/chart.ts:490
MS-PPT > Format chart > Format Data Point > Series Options > "Series Overlap"
- overlap (percent)
- range:
-100-100
Default
ts
0Inherited from
ChartPropsChartBar.barOverlapPct
barSeriesLine?
optionalbarSeriesLine?:boolean|OptsChartGridLine
Defined in: src/types/chart.ts:504
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
ChartPropsChartBar.barSeriesLine
binning?
optionalbinning?:ChartExBinning
Defined in: src/types/chart.ts:618
Bin configuration for a histogram chart. Omit for PowerPoint's automatic binning.
Example
ts
{ intervalClosed: 'l' }Inherited from
ChartPropsChartHistogram.binning
bold?
optionalbold?:boolean
Defined in: src/types/text.ts:23
Bold style
Default
ts
falseInherited from
breakLine?
optionalbreakLine?:boolean
Defined in: src/types/text.ts:28
Add a line-break
Default
ts
falseInherited from
bullet?
optionalbullet?:boolean|"inherit"| {characterCode?:string;color?:string;fontFace?:string;image?: {data?:string;path?:string; };indent?:number;numberStartAt?:number;numberType?:"alphaLcParenBoth"|"alphaLcParenR"|"alphaLcPeriod"|"alphaUcParenBoth"|"alphaUcParenR"|"alphaUcPeriod"|"arabicParenBoth"|"arabicParenR"|"arabicPeriod"|"arabicPlain"|"romanLcParenBoth"|"romanLcParenR"|"romanLcPeriod"|"romanUcParenBoth"|"romanUcParenR"|"romanUcPeriod";size?:number;type?:"number"|"bullet"; }
Defined in: src/types/text.ts:53
Add standard or custom bullet
- use
truefor standard bullet - pass object options for custom bullet
false(and omitting the option) is the explicit off: it writes<a:buNone/>plusmarL="0" indent="0", which overrides whatever bullet the layout's or master's list style sets for this level'inherit'states nothing at all — no bullet child and no margin attributes — so the list style keeps reaching the paragraph. This is the one state omission cannot spell, because omitting the option meansfalsehere for compatibility
The margins are only a default of the bullet state: paraMarginLeft and paraIndent state @marL/@indent independently in any of the three, including an inherited margin under a drawn bullet.
Union Members
boolean
"inherit"
Type Literal
{ characterCode?: string; color?: string; fontFace?: string; image?: { data?: string; path?: string; }; indent?: number; numberStartAt?: number; numberType?: "alphaLcParenBoth" | "alphaLcParenR" | "alphaLcPeriod" | "alphaUcParenBoth" | "alphaUcParenR" | "alphaUcPeriod" | "arabicParenBoth" | "arabicParenR" | "arabicPeriod" | "arabicPlain" | "romanLcParenBoth" | "romanLcParenR" | "romanLcPeriod" | "romanUcParenBoth" | "romanUcParenR" | "romanUcPeriod"; size?: number; type?: "number" | "bullet"; }
characterCode?
optionalcharacterCode?:string
Bullet character code (unicode)
Example
ts
'25BA' // 'BLACK RIGHT-POINTING POINTER' (U+25BA)color?
optionalcolor?:string
Bullet glyph color (separate from the text run color)
Example
ts
'FF0000' // red bulletfontFace?
optionalfontFace?:string
Bullet glyph font typeface (<a:buFont/>), e.g. for symbol-font bullets
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) and SVG are supported; use
sizeto scale relative to the text height - SVG bullets embed a PNG preview plus the SVG (the same dual-rel handling as
addImage()) - takes precedence over
type/characterCodewhen set
Examples
ts
image: { path: 'images/star.png' }ts
image: { data: 'image/png;base64,iVBOR...' }ts
image: { path: 'images/star.svg' }image.data?
optionaldata?:string
image.path?
optionalpath?:string
indent?
optionalindent?:number
Indentation (space between bullet and text) (points)
Default
ts
27 // DEF_BULLET_MARGINExample
ts
10 // Indents text 10 points from bulletnumberStartAt?
optionalnumberStartAt?:number
Number bullets start at
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
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)
Default
ts
100Example
ts
80 // bullet glyph is 80% of the text sizetype?
optionaltype?:"number"|"bullet"
Bullet type
Default
ts
bulletDefault
ts
falseInherited from
cap?
optionalcap?:LineCap
Defined in: src/types/chart.ts:162
MS-PPT > Chart format > Format Major Gridlines > Line > Cap type
- line cap type
Default
ts
flatInherited from
caps?
optionalcaps?:"small"|"all"|"none"
Defined in: src/types/text.ts:149
Text capitalization (a:rPr/@cap, ST_TextCapsType)
'all'= ALL CAPS'small'= Small Caps'none'= the explicit off: it writescap="none", which overrides a capitalization the run would otherwise inherit. Omitting the option states nothing and lets that inheritance stand- PowerPoint: Font > Effects > All Caps / Small Caps
Default
ts
(unset) inheritInherited from
catAxes?
optionalcatAxes?:ChartPropsAxisCat[]
Defined in: src/types/chart.ts:330
Multi-Chart prop: array of cat axes
Inherited from
catAxisBaseTimeUnit?
optionalcatAxisBaseTimeUnit?:string
Defined in: src/types/chart.ts:331
Inherited from
ChartPropsAxisCat.catAxisBaseTimeUnit
catAxisCrossesAt?
optionalcatAxisCrossesAt?:number|"autoZero"
Defined in: src/types/chart.ts:332
Inherited from
ChartPropsAxisCat.catAxisCrossesAt
catAxisHidden?
optionalcatAxisHidden?:boolean
Defined in: src/types/chart.ts:333
Inherited from
ChartPropsAxisCat.catAxisHidden
catAxisLabelColor?
optionalcatAxisLabelColor?:string
Defined in: src/types/chart.ts:334
Inherited from
ChartPropsAxisCat.catAxisLabelColor
catAxisLabelFontBold?
optionalcatAxisLabelFontBold?:boolean
Defined in: src/types/chart.ts:335
Inherited from
ChartPropsAxisCat.catAxisLabelFontBold
catAxisLabelFontFace?
optionalcatAxisLabelFontFace?:string
Defined in: src/types/chart.ts:336
Inherited from
ChartPropsAxisCat.catAxisLabelFontFace
catAxisLabelFontItalic?
optionalcatAxisLabelFontItalic?:boolean
Defined in: src/types/chart.ts:337
Inherited from
ChartPropsAxisCat.catAxisLabelFontItalic
catAxisLabelFontSize?
optionalcatAxisLabelFontSize?:number
Defined in: src/types/chart.ts:338
Inherited from
ChartPropsAxisCat.catAxisLabelFontSize
catAxisLabelFormatCode?
optionalcatAxisLabelFormatCode?:string
Defined in: src/types/chart.ts:345
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
ChartPropsAxisCat.catAxisLabelFormatCode
catAxisLabelFrequency?
optionalcatAxisLabelFrequency?:string
Defined in: src/types/chart.ts:346
Inherited from
ChartPropsAxisCat.catAxisLabelFrequency
catAxisLabelPos?
optionalcatAxisLabelPos?:"none"|"high"|"low"|"nextTo"
Defined in: src/types/chart.ts:347
Inherited from
ChartPropsAxisCat.catAxisLabelPos
catAxisLabelRotate?
optionalcatAxisLabelRotate?:number
Defined in: src/types/chart.ts:348
Inherited from
ChartPropsAxisCat.catAxisLabelRotate
catAxisLineColor?
optionalcatAxisLineColor?:string
Defined in: src/types/chart.ts:349
Inherited from
ChartPropsAxisCat.catAxisLineColor
catAxisLineShow?
optionalcatAxisLineShow?:boolean
Defined in: src/types/chart.ts:350
Inherited from
ChartPropsAxisCat.catAxisLineShow
catAxisLineSize?
optionalcatAxisLineSize?:number
Defined in: src/types/chart.ts:351
Inherited from
ChartPropsAxisCat.catAxisLineSize
catAxisLineStyle?
optionalcatAxisLineStyle?:"dash"|"solid"|"dot"
Defined in: src/types/chart.ts:352
Inherited from
ChartPropsAxisCat.catAxisLineStyle
catAxisMajorTickMark?
optionalcatAxisMajorTickMark?:ChartAxisTickMark
Defined in: src/types/chart.ts:353
Inherited from
ChartPropsAxisCat.catAxisMajorTickMark
catAxisMajorTimeUnit?
optionalcatAxisMajorTimeUnit?:string
Defined in: src/types/chart.ts:354
Inherited from
ChartPropsAxisCat.catAxisMajorTimeUnit
catAxisMajorUnit?
optionalcatAxisMajorUnit?:number
Defined in: src/types/chart.ts:355
Inherited from
ChartPropsAxisCat.catAxisMajorUnit
catAxisMaxVal?
optionalcatAxisMaxVal?:number
Defined in: src/types/chart.ts:356
Inherited from
ChartPropsAxisCat.catAxisMaxVal
catAxisMinorTickMark?
optionalcatAxisMinorTickMark?:ChartAxisTickMark
Defined in: src/types/chart.ts:357
Inherited from
ChartPropsAxisCat.catAxisMinorTickMark
catAxisMinorTimeUnit?
optionalcatAxisMinorTimeUnit?:string
Defined in: src/types/chart.ts:358
Inherited from
ChartPropsAxisCat.catAxisMinorTimeUnit
catAxisMinorUnit?
optionalcatAxisMinorUnit?:number
Defined in: src/types/chart.ts:359
Inherited from
ChartPropsAxisCat.catAxisMinorUnit
catAxisMinVal?
optionalcatAxisMinVal?:number
Defined in: src/types/chart.ts:360
Inherited from
ChartPropsAxisCat.catAxisMinVal
catAxisMultiLevelLabels?
optionalcatAxisMultiLevelLabels?:boolean
Defined in: src/types/chart.ts:361
Inherited from
ChartPropsAxisCat.catAxisMultiLevelLabels
catAxisOrientation?
optionalcatAxisOrientation?:"minMax"|"maxMin"
Defined in: src/types/chart.ts:362
Inherited from
ChartPropsAxisCat.catAxisOrientation
catAxisTitle?
optionalcatAxisTitle?:string
Defined in: src/types/chart.ts:363
Inherited from
ChartPropsAxisCat.catAxisTitle
catAxisTitleColor?
optionalcatAxisTitleColor?:string
Defined in: src/types/chart.ts:364
Inherited from
ChartPropsAxisCat.catAxisTitleColor
catAxisTitleFontFace?
optionalcatAxisTitleFontFace?:string
Defined in: src/types/chart.ts:365
Inherited from
ChartPropsAxisCat.catAxisTitleFontFace
catAxisTitleFontSize?
optionalcatAxisTitleFontSize?:number
Defined in: src/types/chart.ts:366
Inherited from
ChartPropsAxisCat.catAxisTitleFontSize
catAxisTitleRotate?
optionalcatAxisTitleRotate?:number
Defined in: src/types/chart.ts:367
Inherited from
ChartPropsAxisCat.catAxisTitleRotate
catGridLine?
optionalcatGridLine?:OptsChartGridLine
Defined in: src/types/chart.ts:368
Inherited from
catLabelFormatCode?
optionalcatLabelFormatCode?:string
Defined in: src/types/chart.ts:369
Inherited from
ChartPropsAxisCat.catLabelFormatCode
chartArea?
optionalchartArea?:ChartAreaProps
Defined in: src/types/chart.ts:313
PowerPoint: Format Chart Area (Fill & Border/Line)
Inherited from
chartColors?
optionalchartColors?:string[]
Defined in: src/types/chart.ts:220
Inherited from
chartColorsOpacity?
optionalchartColorsOpacity?:number
Defined in: src/types/chart.ts:225
opacity (0 - 100)
Example
ts
50 // 50% opaqueInherited from
ChartPropsBase.chartColorsOpacity
color?
optionalcolor?:string
Defined in: src/types/text.ts:157
Text color
HexColororThemeColor- MS-PPT > Format Shape > Text Options > Text Fill & Outline > Text Fill > Color
Examples
ts
'FF0000' // hex color (red)ts
SchemeColor.text1 // Theme color (Text1)Inherited from
dataBorder?
optionaldataBorder?:BorderProps
Defined in: src/types/chart.ts:226
Inherited from
dataLabelBkgrdColors?
optionaldataLabelBkgrdColors?:boolean
Defined in: src/types/chart.ts:735
Inherited from
ChartPropsDataLabel.dataLabelBkgrdColors
dataLabelColor?
optionaldataLabelColor?:string
Defined in: src/types/chart.ts:736
Inherited from
ChartPropsDataLabel.dataLabelColor
dataLabelFontBold?
optionaldataLabelFontBold?:boolean
Defined in: src/types/chart.ts:737
Inherited from
ChartPropsDataLabel.dataLabelFontBold
dataLabelFontFace?
optionaldataLabelFontFace?:string
Defined in: src/types/chart.ts:738
Inherited from
ChartPropsDataLabel.dataLabelFontFace
dataLabelFontItalic?
optionaldataLabelFontItalic?:boolean
Defined in: src/types/chart.ts:739
Inherited from
ChartPropsDataLabel.dataLabelFontItalic
dataLabelFontSize?
optionaldataLabelFontSize?:number
Defined in: src/types/chart.ts:740
Inherited from
ChartPropsDataLabel.dataLabelFontSize
dataLabelFormatCode?
optionaldataLabelFormatCode?:string
Defined in: src/types/chart.ts:747
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
ChartPropsDataLabel.dataLabelFormatCode
dataLabelFormatScatter?
optionaldataLabelFormatScatter?:"custom"|"customXY"|"XY"
Defined in: src/types/chart.ts:748
Inherited from
ChartPropsDataLabel.dataLabelFormatScatter
dataLabelPosition?
optionaldataLabelPosition?:"r"|"b"|"ctr"|"t"|"l"|"bestFit"|"inEnd"|"outEnd"
Defined in: src/types/chart.ts:749
Inherited from
ChartPropsDataLabel.dataLabelPosition
dataNoEffects?
optionaldataNoEffects?:boolean
Defined in: src/types/chart.ts:507
Inherited from
ChartPropsChartDoughnut.dataNoEffects
dataTableFontSize?
optionaldataTableFontSize?:number
Defined in: src/types/chart.ts:752
Inherited from
ChartPropsDataTable.dataTableFontSize
dataTableFormatCode?
optionaldataTableFormatCode?:string
Defined in: src/types/chart.ts:759
Data table format code
Examples
ts
'#%' // round percentts
'0.00%' // shows values as '0.00%'ts
'$0.00' // shows values as '$0.00'Inherited from
ChartPropsDataTable.dataTableFormatCode
displayBlanksAs?
optionaldisplayBlanksAs?:"zero"|"gap"|"span"
Defined in: src/types/chart.ts:227
Inherited from
ChartPropsBase.displayBlanksAs
firstSliceAng?
optionalfirstSliceAng?:number
Defined in: src/types/chart.ts:576
MS-PPT > Format chart > Format Data Series > Series Options > "Angle of first slice"
- angle (degrees)
- range: 0-359
Default
ts
0Inherited from
ChartPropsChartPie.firstSliceAng
fontFace?
optionalfontFace?:string
Defined in: src/types/text.ts:167
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: src/types/text.ts:175
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: src/types/text.ts:180
Font size
Example
ts
12 // Font size 12Inherited from
geography?
optionalgeography?:ChartExGeography
Defined in: src/types/chart.ts:671
Geography configuration for a regionMap chart. Omit for PowerPoint's defaults (cultureLanguage: 'en-US', cultureRegion: 'US').
Example
ts
{ cultureLanguage: 'en-US', cultureRegion: 'FR' }Inherited from
ChartPropsChartRegionMap.geography
h?
optionalh?:Coord
Defined in: src/types/core.ts:49
Height
- inches or percentage
Examples
ts
10.25 // height in inchests
'75%' // height as percentage of slide sizeInherited from
highlight?
optionalhighlight?:string
Defined in: src/types/text.ts:185
Text highlight color (hex format)
Example
ts
'FFFF00' // yellowInherited from
holeSize?
optionalholeSize?:number
Defined in: src/types/chart.ts:508
Inherited from
ChartPropsChartDoughnut.holeSize
invertedColors?
optionalinvertedColors?:string[]
Defined in: src/types/chart.ts:228
Inherited from
italic?
optionalitalic?:boolean
Defined in: src/types/text.ts:190
italic style
Default
ts
falseInherited from
lang?
optionallang?:string
Defined in: src/types/chart.ts:229
language
- ISO 639-1 standard language code
Default
ts
'en-US' // english USExample
ts
'fr-CA' // french CanadianInherited from
layout?
optionallayout?:PositionProps
Defined in: src/types/chart.ts:230
Inherited from
leaderLineColor?
optionalleaderLineColor?:string
Defined in: src/types/chart.ts:255
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
ChartPropsBase.leaderLineColor
leaderLineSize?
optionalleaderLineSize?:number
Defined in: src/types/chart.ts:261
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: src/types/chart.ts:771
Inherited from
legendFontFace?
optionallegendFontFace?:string
Defined in: src/types/chart.ts:772
Inherited from
ChartPropsLegend.legendFontFace
legendFontSize?
optionallegendFontSize?:number
Defined in: src/types/chart.ts:773
Inherited from
ChartPropsLegend.legendFontSize
legendLayout?
optionallegendLayout?:PositionProps
Defined in: src/types/chart.ts:787
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"|"t"|"l"
Defined in: src/types/chart.ts:788
Inherited from
lineCap?
optionallineCap?:LineCap
Defined in: src/types/chart.ts:516
MS-PPT > Chart format > Format Data Series > Line > Cap type
- line cap type
Default
ts
flatInherited from
lineDash?
optionallineDash?:ChartLineDash
Defined in: src/types/chart.ts:522
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: src/types/chart.ts:528
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
ChartPropsChartLine.lineDashValues
lineDataSymbol?
optionallineDataSymbol?:"none"|"square"|"triangle"|"circle"|"diamond"|"dash"|"dot"
Defined in: src/types/chart.ts:534
MS-PPT > Chart format > Format Data Series > Marker Options > Built-in > Type
- marker type
Default
ts
circleInherited from
ChartPropsChartLine.lineDataSymbol
lineDataSymbolLineColor?
optionallineDataSymbolLineColor?:string
Defined in: src/types/chart.ts:540
MS-PPT > Chart format > Format Data Series > [Marker Options] > Border > Color
- border color
Default
ts
circleInherited from
ChartPropsChartLine.lineDataSymbolLineColor
lineDataSymbolLineSize?
optionallineDataSymbolLineSize?:number
Defined in: src/types/chart.ts:546
MS-PPT > Chart format > Format Data Series > [Marker Options] > Border > Width
- border width (points)
Default
ts
0.75Inherited from
ChartPropsChartLine.lineDataSymbolLineSize
lineDataSymbolSize?
optionallineDataSymbolSize?:number
Defined in: src/types/chart.ts:553
MS-PPT > Chart format > Format Data Series > Marker Options > Built-in > Size
- marker size
- range: 2-72
Default
ts
6Inherited from
ChartPropsChartLine.lineDataSymbolSize
lineSize?
optionallineSize?:number
Defined in: src/types/chart.ts:560
MS-PPT > Chart format > Format Data Series > Line > Width
- line width (points)
- range: 0-1584
Default
ts
2Inherited from
lineSmooth?
optionallineSmooth?:boolean
Defined in: src/types/chart.ts:566
MS-PPT > Chart format > Format Data Series > Line > Smoothed line
- "Smoothed line"
Default
ts
falseInherited from
ChartPropsChartLine.lineSmooth
metadata?
optionalmetadata?:Record<string,string>
Defined in: src/types/chart.ts:851
Custom chart-level metadata, emitted as a schema-valid extension on the chart space (c:chartSpace/c:extLst) under a stable ts-pptx vendor GUID.
- Use for round-trippable, machine-readable annotations a consumer wants to travel with the chart (e.g. a source-data id, a generator tag, a semantic role). PowerPoint preserves the extension untouched and ignores it for rendering.
- Keys must be non-empty strings; values must be strings. Invalid entries are dropped with a console warning rather than emitting degenerate XML.
Example
ts
{ sourceId: 'q3-revenue', generator: 'my-deck-tool' }objectLock?
optionalobjectLock?:ObjectLockProps
Defined in: src/types/object.ts:54
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
Examples
ts
{ noMove: true, noResize: true } // pin an object in placets
{ noGrp: true } // exclude from groupingInherited from
objectName?
optionalobjectName?:string
Defined in: src/types/object.ts:36
Object name
- used instead of default "Object N" name
- PowerPoint: Home > Arrange > Selection Pane...
Default
ts
'Object 1'Example
ts
'Antenna Design 9'Inherited from
paraIndent?
optionalparaIndent?:number|"inherit"
Defined in: src/types/text.ts:214
First-line indent (points) — a:pPr/@indent, the offset of the paragraph's FIRST line from paraMarginLeft. Negative hangs the first line to the left of the body, which is what a bulleted paragraph does; positive indents it to the right, the "first line indented" prose form. PowerPoint: Paragraph > Indentation > Special.
'inherit'writes no@indentat all, so the paragraph takes whatever its list style (a:lstStyle→ placeholder → layout → master) sets — the same third state bullet spells, on the attribute beside it- omitting the option keeps the bullet-derived default: a drawn bullet hangs the first line by its margin,
bullet: falsewritesindent="0",bullet: 'inherit'writes nothing - a value here overrides all of those, in every bullet state
Examples
ts
-18 // hang the first line 18pt left of the body textts
18 // indent the first line 18pt, prose stylets
'inherit' // keep the list style's indent, even on a bulleted paragraphInherited from
paraMarginLeft?
optionalparaMarginLeft?:number|"inherit"
Defined in: src/types/text.ts:229
Left margin of the paragraph (points) — a:pPr/@marL, where the paragraph's body text starts. This is the paragraph's own margin, not the text frame's internal padding (margin) and not the discrete outline level (indentLevel, which writes a:p/@lvl). PowerPoint: Paragraph > Indentation > Before text.
'inherit'writes no@marLat all, so the paragraph takes whatever its list style (a:lstStyle→ placeholder → layout → master) sets — the third state that omission cannot spell, since omitting it writes the bullet-derived default- omitting the option keeps that default: a drawn bullet writes its own margin (see
bullet.indent),bullet: falsewritesmarL="0",bullet: 'inherit'writes nothing - a value here overrides all of those, in every bullet state
Examples
ts
36 // body text starts 36pt (0.5in) from the frame's text edgets
'inherit' // keep the list style's margin, even on a bulleted paragraphInherited from
ChartPropsTitle.paraMarginLeft
plotArea?
optionalplotArea?:ChartPropsFillLine
Defined in: src/types/chart.ts:317
PowerPoint: Format Plot Area (Fill & Border/Line)
Inherited from
radarStyle?
optionalradarStyle?:"radar"|"markers"|"filled"
Defined in: src/types/chart.ts:584
Radar chart sub-type, named to match the PowerPoint UI ("Radar", "Radar with Markers", "Filled Radar").
Default
ts
radarInherited from
ChartPropsChartRadar.radarStyle
secondaryCatAxis?
optionalsecondaryCatAxis?:boolean
Defined in: src/types/chart.ts:374
Whether data should use secondary category axis (instead of primary)
Default
ts
falseInherited from
ChartPropsAxisCat.secondaryCatAxis
secondaryValAxis?
optionalsecondaryValAxis?:boolean
Defined in: src/types/chart.ts:408
Whether data should use secondary value axis (instead of primary)
Default
ts
falseInherited from
ChartPropsAxisVal.secondaryValAxis
serAxisBaseTimeUnit?
optionalserAxisBaseTimeUnit?:string
Defined in: src/types/chart.ts:378
Inherited from
ChartPropsAxisSer.serAxisBaseTimeUnit
serAxisHidden?
optionalserAxisHidden?:boolean
Defined in: src/types/chart.ts:379
Inherited from
ChartPropsAxisSer.serAxisHidden
serAxisLabelColor?
optionalserAxisLabelColor?:string
Defined in: src/types/chart.ts:380
Inherited from
ChartPropsAxisSer.serAxisLabelColor
serAxisLabelFontBold?
optionalserAxisLabelFontBold?:boolean
Defined in: src/types/chart.ts:381
Inherited from
ChartPropsAxisSer.serAxisLabelFontBold
serAxisLabelFontFace?
optionalserAxisLabelFontFace?:string
Defined in: src/types/chart.ts:382
Inherited from
ChartPropsAxisSer.serAxisLabelFontFace
serAxisLabelFontItalic?
optionalserAxisLabelFontItalic?:boolean
Defined in: src/types/chart.ts:383
Inherited from
ChartPropsAxisSer.serAxisLabelFontItalic
serAxisLabelFontSize?
optionalserAxisLabelFontSize?:number
Defined in: src/types/chart.ts:384
Inherited from
ChartPropsAxisSer.serAxisLabelFontSize
serAxisLabelFrequency?
optionalserAxisLabelFrequency?:string
Defined in: src/types/chart.ts:385
Inherited from
ChartPropsAxisSer.serAxisLabelFrequency
serAxisLabelPos?
optionalserAxisLabelPos?:"none"|"high"|"low"|"nextTo"
Defined in: src/types/chart.ts:386
Inherited from
ChartPropsAxisSer.serAxisLabelPos
serAxisLineColor?
optionalserAxisLineColor?:string
Defined in: src/types/chart.ts:387
Inherited from
ChartPropsAxisSer.serAxisLineColor
serAxisLineShow?
optionalserAxisLineShow?:boolean
Defined in: src/types/chart.ts:388
Inherited from
ChartPropsAxisSer.serAxisLineShow
serAxisMajorTimeUnit?
optionalserAxisMajorTimeUnit?:string
Defined in: src/types/chart.ts:389
Inherited from
ChartPropsAxisSer.serAxisMajorTimeUnit
serAxisMajorUnit?
optionalserAxisMajorUnit?:number
Defined in: src/types/chart.ts:390
Inherited from
ChartPropsAxisSer.serAxisMajorUnit
serAxisMinorTimeUnit?
optionalserAxisMinorTimeUnit?:string
Defined in: src/types/chart.ts:391
Inherited from
ChartPropsAxisSer.serAxisMinorTimeUnit
serAxisMinorUnit?
optionalserAxisMinorUnit?:number
Defined in: src/types/chart.ts:392
Inherited from
ChartPropsAxisSer.serAxisMinorUnit
serAxisOrientation?
optionalserAxisOrientation?:string
Defined in: src/types/chart.ts:393
Inherited from
ChartPropsAxisSer.serAxisOrientation
serAxisTitle?
optionalserAxisTitle?:string
Defined in: src/types/chart.ts:394
Inherited from
ChartPropsAxisSer.serAxisTitle
serAxisTitleColor?
optionalserAxisTitleColor?:string
Defined in: src/types/chart.ts:395
Inherited from
ChartPropsAxisSer.serAxisTitleColor
serAxisTitleFontFace?
optionalserAxisTitleFontFace?:string
Defined in: src/types/chart.ts:396
Inherited from
ChartPropsAxisSer.serAxisTitleFontFace
serAxisTitleFontSize?
optionalserAxisTitleFontSize?:number
Defined in: src/types/chart.ts:397
Inherited from
ChartPropsAxisSer.serAxisTitleFontSize
serAxisTitleRotate?
optionalserAxisTitleRotate?:number
Defined in: src/types/chart.ts:398
Inherited from
ChartPropsAxisSer.serAxisTitleRotate
serGridLine?
optionalserGridLine?:OptsChartGridLine
Defined in: src/types/chart.ts:399
Inherited from
seriesOptions?
optionalseriesOptions?:ChartSeriesOpts[]
Defined in: src/types/chart.ts:324
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.
Inherited from
serLabelFormatCode?
optionalserLabelFormatCode?:string
Defined in: src/types/chart.ts:400
Inherited from
ChartPropsAxisSer.serLabelFormatCode
shadow?
optionalshadow?:ShadowProps
Defined in: src/types/chart.ts:231
Inherited from
showBubbleSize?
optionalshowBubbleSize?:boolean
Defined in: src/types/chart.ts:237
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: src/types/chart.ts:375
Inherited from
ChartPropsAxisCat.showCatAxisTitle
showDataTable?
optionalshowDataTable?:boolean
Defined in: src/types/chart.ts:764
Whether to show a data table adjacent to the chart
Default
ts
falseInherited from
ChartPropsDataTable.showDataTable
showDataTableHorzBorder?
optionalshowDataTableHorzBorder?:boolean
Defined in: src/types/chart.ts:765
Inherited from
ChartPropsDataTable.showDataTableHorzBorder
showDataTableKeys?
optionalshowDataTableKeys?:boolean
Defined in: src/types/chart.ts:766
Inherited from
ChartPropsDataTable.showDataTableKeys
showDataTableOutline?
optionalshowDataTableOutline?:boolean
Defined in: src/types/chart.ts:767
Inherited from
ChartPropsDataTable.showDataTableOutline
showDataTableVertBorder?
optionalshowDataTableVertBorder?:boolean
Defined in: src/types/chart.ts:768
Inherited from
ChartPropsDataTable.showDataTableVertBorder
showLabel?
optionalshowLabel?:boolean
Defined in: src/types/chart.ts:248
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: shows both the value and the category name;
- 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
falseInherited from
showLeaderLines?
optionalshowLeaderLines?:boolean
Defined in: src/types/chart.ts:249
Inherited from
ChartPropsBase.showLeaderLines
showLegend?
optionalshowLegend?:boolean
Defined in: src/types/chart.ts:265
Default
ts
falseInherited from
showPercent?
optionalshowPercent?:boolean
Defined in: src/types/chart.ts:269
Default
ts
falseInherited from
showSerAxisTitle?
optionalshowSerAxisTitle?:boolean
Defined in: src/types/chart.ts:401
Inherited from
ChartPropsAxisSer.showSerAxisTitle
showSerName?
optionalshowSerName?:boolean
Defined in: src/types/chart.ts:273
Default
ts
falseInherited from
showTitle?
optionalshowTitle?:boolean
Defined in: src/types/chart.ts:277
Default
ts
falseInherited from
showValAxisTitle?
optionalshowValAxisTitle?:boolean
Defined in: src/types/chart.ts:409
Inherited from
ChartPropsAxisVal.showValAxisTitle
showValue?
optionalshowValue?:boolean
Defined in: src/types/chart.ts:281
Default
ts
falseInherited from
size?
optionalsize?:number
Defined in: src/types/chart.ts:173
Gridline size (points)
Inherited from
softBreakBefore?
optionalsoftBreakBefore?:boolean
Defined in: src/types/text.ts:234
Add a soft line-break (shift+enter) before line text content
Default
ts
falseInherited from
ChartPropsTitle.softBreakBefore
statistics?
optionalstatistics?:ChartExStatistics
Defined in: src/types/chart.ts:647
Statistics configuration for a boxWhisker chart. Omit for PowerPoint's defaults (exclusive quartiles, mean marker shown, outliers shown).
Example
ts
{ quartileMethod: 'inclusive', meanLine: true }Inherited from
ChartPropsChartBoxWhisker.statistics
stockStyle?
optionalstockStyle?:"hlc"|"ohlc"|"vhlc"|"vohlc"
Defined in: src/types/chart.ts:685
Stock (high-low-close) chart style — selects how many value series the chart expects and how they are drawn. The data series must be supplied in the exact order implied by the style:
'hlc'— High, Low, Close (3 series). The close is marked with a dot.'ohlc'— Open, High, Low, Close (4 series). Open→close is drawn as up/down bars.'vhlc'— Volume, High, Low, Close (4 series). Volume is a column on its own axis.'vohlc'— Volume, Open, High, Low, Close (5 series). Volume column + up/down bars.
<c:hiLowLines> connect the high/low of each category in every style.
Default
ts
'hlc'Inherited from
ChartPropsChartStock.stockStyle
style?
optionalstyle?:"none"|"dash"|"solid"|"dot"
Defined in: src/types/chart.ts:177
Gridline style
Inherited from
subtotals?
optionalsubtotals?:number[]
Defined in: src/types/chart.ts:599
Zero-based category indices to render as subtotal/total columns in a waterfall chart (columns anchored to the axis baseline rather than floating from the running cumulative value). Out-of-range or non-integer entries are dropped with a console warning.
Example
ts
[0, 4] // first and fifth categories are totalsInherited from
ChartPropsChartWaterfall.subtotals
surface3D?
optionalsurface3D?:boolean
Defined in: src/types/chart.ts:693
Draw a 3-D surface (<c:surface3DChart>) rather than a 2-D contour / top view (<c:surfaceChart>). The 3-D surface tilts the scene; the contour looks straight down.
Default
ts
trueInherited from
ChartPropsChartSurface.surface3D
surfaceWireframe?
optionalsurfaceWireframe?:boolean
Defined in: src/types/chart.ts:699
Draw the surface as a wireframe mesh (<c:wireframe val="1"/>) instead of a filled sheet. Applies to both the 3-D surface and the 2-D contour.
Default
ts
falseInherited from
ChartPropsChartSurface.surfaceWireframe
tabStops?
optionaltabStops?:object[]
Defined in: src/types/text.ts:240
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: src/types/text.ts:249
text direction horz = horizontal vert = rotate 90^ vert270 = rotate 270^ wordArtVert = stacked
Default
ts
'horz'Inherited from
textWarp?
optionaltextWarp?:string
Defined in: src/types/text.ts:36
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.
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: src/types/chart.ts:791
Inherited from
titleAlign?
optionaltitleAlign?:string
Defined in: src/types/chart.ts:792
Inherited from
titleBold?
optionaltitleBold?:boolean
Defined in: src/types/chart.ts:793
Inherited from
titleColor?
optionaltitleColor?:string
Defined in: src/types/chart.ts:794
Inherited from
titleFontFace?
optionaltitleFontFace?:string
Defined in: src/types/chart.ts:795
Inherited from
titleFontSize?
optionaltitleFontSize?:number
Defined in: src/types/chart.ts:796
Inherited from
titleItalic?
optionaltitleItalic?:boolean
Defined in: src/types/chart.ts:797
Inherited from
titlePos?
optionaltitlePos?:object
Defined in: src/types/chart.ts:804
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: src/types/chart.ts:805
Inherited from
titleUnderline?
optionaltitleUnderline?:boolean
Defined in: src/types/chart.ts:798
Inherited from
ChartPropsTitle.titleUnderline
transparency?
optionaltransparency?:number
Defined in: src/types/text.ts:256
Transparency (percent)
- MS-PPT > Format Shape > Text Options > Text Fill & Outline > Text Fill > Transparency
- range: 0-100
Default
ts
0Inherited from
type?
optionaltype?:"area"|"line"|"bar"|"bar3D"|"bubble"|"bubble3D"|"doughnut"|"pie"|"radar"|"scatter"|"stock"|"surface"|"waterfall"|"funnel"|"treemap"|"sunburst"|"histogram"|"pareto"|"boxWhisker"|"regionMap"
Defined in: src/types/chart.ts:835
Chart type — required when using the canonical addChart(data, options) signature.
- Omit only for multi-type (combo) charts, where each
ChartMultientry carries its owntype.
underline?
optionalunderline?:object
Defined in: src/types/text.ts:267
underline properties
- PowerPoint: Font > Color & Underline > Underline Style/Underline Color
styleis the fullST_TextUnderlineTypeenumeration (ECMA-376 §20.1.10.81)'none'is the explicit off: it writesa:rPr/@u="none", which overrides an underline the run would otherwise inherit from its list style, placeholder, layout or master. Omitting the option instead states nothing and lets that inheritance stand — the two are different facts, not two spellings of one.
color?
optionalcolor?:string
style?
optionalstyle?:"none"|"dash"|"dashHeavy"|"dashLong"|"dashLongHeavy"|"dbl"|"dotDash"|"dotDashHeavy"|"dotDotDash"|"dotDotDashHeavy"|"dotted"|"dottedHeavy"|"heavy"|"sng"|"wavy"|"wavyDbl"|"wavyHeavy"|"words"
Default
ts
(unset) inheritInherited from
v3DPerspective?
optionalv3DPerspective?:number
Defined in: src/types/chart.ts:287
3D Perspecitve
- range: 0-120
Default
ts
30Inherited from
v3DRAngAx?
optionalv3DRAngAx?:boolean
Defined in: src/types/chart.ts:295
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: src/types/chart.ts:302
X Rotation
- PowerPoint: Chart Options > 3-D Rotation
- range: 0-359.9
Default
ts
30Inherited from
v3DRotY?
optionalv3DRotY?:number
Defined in: src/types/chart.ts:308
Y Rotation
- range: 0-359.9
Default
ts
30Inherited from
valAxes?
optionalvalAxes?:ChartPropsAxisVal[]
Defined in: src/types/chart.ts:413
Multi-Chart prop: array of val axes
Inherited from
valAxisCrossBetween?
optionalvalAxisCrossBetween?:"between"|"midCat"
Defined in: src/types/chart.ts:421
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
ChartPropsAxisVal.valAxisCrossBetween
valAxisCrossesAt?
optionalvalAxisCrossesAt?:number|"autoZero"
Defined in: src/types/chart.ts:414
Inherited from
ChartPropsAxisVal.valAxisCrossesAt
valAxisDisplayUnit?
optionalvalAxisDisplayUnit?:"billions"|"hundredMillions"|"hundreds"|"hundredThousands"|"millions"|"tenMillions"|"tenThousands"|"thousands"|"trillions"
Defined in: src/types/chart.ts:422
Inherited from
ChartPropsAxisVal.valAxisDisplayUnit
valAxisDisplayUnitLabel?
optionalvalAxisDisplayUnitLabel?:boolean
Defined in: src/types/chart.ts:432
Inherited from
ChartPropsAxisVal.valAxisDisplayUnitLabel
valAxisHidden?
optionalvalAxisHidden?:boolean
Defined in: src/types/chart.ts:433
Inherited from
ChartPropsAxisVal.valAxisHidden
valAxisLabelColor?
optionalvalAxisLabelColor?:string
Defined in: src/types/chart.ts:434
Inherited from
ChartPropsAxisVal.valAxisLabelColor
valAxisLabelFontBold?
optionalvalAxisLabelFontBold?:boolean
Defined in: src/types/chart.ts:435
Inherited from
ChartPropsAxisVal.valAxisLabelFontBold
valAxisLabelFontFace?
optionalvalAxisLabelFontFace?:string
Defined in: src/types/chart.ts:436
Inherited from
ChartPropsAxisVal.valAxisLabelFontFace
valAxisLabelFontItalic?
optionalvalAxisLabelFontItalic?:boolean
Defined in: src/types/chart.ts:437
Inherited from
ChartPropsAxisVal.valAxisLabelFontItalic
valAxisLabelFontSize?
optionalvalAxisLabelFontSize?:number
Defined in: src/types/chart.ts:438
Inherited from
ChartPropsAxisVal.valAxisLabelFontSize
valAxisLabelFormatCode?
optionalvalAxisLabelFormatCode?:string
Defined in: src/types/chart.ts:439
Inherited from
ChartPropsAxisVal.valAxisLabelFormatCode
valAxisLabelPos?
optionalvalAxisLabelPos?:"none"|"high"|"low"|"nextTo"
Defined in: src/types/chart.ts:440
Inherited from
ChartPropsAxisVal.valAxisLabelPos
valAxisLabelRotate?
optionalvalAxisLabelRotate?:number
Defined in: src/types/chart.ts:441
Inherited from
ChartPropsAxisVal.valAxisLabelRotate
valAxisLineColor?
optionalvalAxisLineColor?:string
Defined in: src/types/chart.ts:442
Inherited from
ChartPropsAxisVal.valAxisLineColor
valAxisLineShow?
optionalvalAxisLineShow?:boolean
Defined in: src/types/chart.ts:443
Inherited from
ChartPropsAxisVal.valAxisLineShow
valAxisLineSize?
optionalvalAxisLineSize?:number
Defined in: src/types/chart.ts:444
Inherited from
ChartPropsAxisVal.valAxisLineSize
valAxisLineStyle?
optionalvalAxisLineStyle?:"dash"|"solid"|"dot"
Defined in: src/types/chart.ts:445
Inherited from
ChartPropsAxisVal.valAxisLineStyle
valAxisLogScaleBase?
optionalvalAxisLogScaleBase?:number
Defined in: src/types/chart.ts:450
PowerPoint: Format Axis > Axis Options > Logarithmic scale - Base
- range: 2-99
Inherited from
ChartPropsAxisVal.valAxisLogScaleBase
valAxisMajorTickMark?
optionalvalAxisMajorTickMark?:ChartAxisTickMark
Defined in: src/types/chart.ts:451
Inherited from
ChartPropsAxisVal.valAxisMajorTickMark
valAxisMajorUnit?
optionalvalAxisMajorUnit?:number
Defined in: src/types/chart.ts:452
Inherited from
ChartPropsAxisVal.valAxisMajorUnit
valAxisMaxVal?
optionalvalAxisMaxVal?:number
Defined in: src/types/chart.ts:453
Inherited from
ChartPropsAxisVal.valAxisMaxVal
valAxisMinorTickMark?
optionalvalAxisMinorTickMark?:ChartAxisTickMark
Defined in: src/types/chart.ts:454
Inherited from
ChartPropsAxisVal.valAxisMinorTickMark
valAxisMinVal?
optionalvalAxisMinVal?:number
Defined in: src/types/chart.ts:455
Inherited from
ChartPropsAxisVal.valAxisMinVal
valAxisOrientation?
optionalvalAxisOrientation?:"minMax"|"maxMin"
Defined in: src/types/chart.ts:456
Inherited from
ChartPropsAxisVal.valAxisOrientation
valAxisTitle?
optionalvalAxisTitle?:string
Defined in: src/types/chart.ts:457
Inherited from
ChartPropsAxisVal.valAxisTitle
valAxisTitleColor?
optionalvalAxisTitleColor?:string
Defined in: src/types/chart.ts:458
Inherited from
ChartPropsAxisVal.valAxisTitleColor
valAxisTitleFontFace?
optionalvalAxisTitleFontFace?:string
Defined in: src/types/chart.ts:459
Inherited from
ChartPropsAxisVal.valAxisTitleFontFace
valAxisTitleFontSize?
optionalvalAxisTitleFontSize?:number
Defined in: src/types/chart.ts:460
Inherited from
ChartPropsAxisVal.valAxisTitleFontSize
valAxisTitleRotate?
optionalvalAxisTitleRotate?:number
Defined in: src/types/chart.ts:461
Inherited from
ChartPropsAxisVal.valAxisTitleRotate
valGridLine?
optionalvalGridLine?:OptsChartGridLine
Defined in: src/types/chart.ts:462
Inherited from
valign?
optionalvalign?:VAlign
Defined in: src/types/text.ts:293
vertical alignment
Default
ts
'top'Inherited from
valLabelFormatCode?
optionalvalLabelFormatCode?:string
Defined in: src/types/chart.ts:470
Value label format code
- this also directs Data Table formatting
Examples
ts
'#%' // round percentts
'0.00%' // shows values as '0.00%'ts
'$0.00' // shows values as '$0.00'Inherited from
ChartPropsAxisVal.valLabelFormatCode
w?
optionalw?:Coord
Defined in: src/types/core.ts:56
Width
- inches or percentage
Examples
ts
10.25 // width in inchests
'75%' // width as percentage of slide sizeInherited from
x?
optionalx?:Coord
Defined in: src/types/core.ts:35
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: src/types/core.ts:42
Vertical position
- inches or percentage
Examples
ts
10.25 // position in inchests
'75%' // position as percentage of slide size