Appearance
Interface: ExtractedChart ​
One chart extracted for Presentation.appendSlides, keyed by the rId the slide body uses to reference it.
A classic (2007, c:chartSpace) chart is one part plus its embedded workbook. A chartEx (Office 2016 — waterfall, funnel, treemap, ...) chart is a different part in a different namespace, reached through a different relationship type, and PowerPoint reports it as corrupt without its two style sidecars — so chartEx carries them and its presence is what tells the two shapes apart.
Properties ​
chartEx? ​
optionalchartEx?:object
Present only for a chartEx chart, and then always with both sidecars. A chartEx part requires a chart-style and a color-style part or PowerPoint reports the deck as corrupt (0x80070570) — schema-valid but unopenable — so these are not optional and Presentation.appendSlides injects them alongside the chart part.
colorsXml ​
colorsXml:
string
cs:colorStyle body for the chart's colors{N}.xml part.
styleXml ​
styleXml:
string
cs:chartStyle body for the chart's style{N}.xml part.
chartXml ​
chartXml:
string
The chart part body: <c:chartSpace> for a classic chart, <cx:chartSpace> for a chartEx one.
embeddingBytes ​
embeddingBytes:
Uint8Array
The chart's embedded .xlsx workbook, the data source PowerPoint opens on edit.
rId ​
rId:
number
Body rId of the slide's rel pointing at the chart part.