Appearance
@shbernal/ts-pptx / index / ChartExGeography
Interface: ChartExGeography
Defined in: src/types/chart.ts:659
Geography configuration for a regionMap (filled-map) chart. A region map colors each geographic area by its value; the category labels are region names (countries, states, provinces, …) that PowerPoint resolves against its Bing-backed geography database when the deck is opened.
These fields tell PowerPoint how to interpret ambiguous region names (e.g. "Georgia" the country vs. the US state). They do NOT change what ts-pptx writes beyond the <cx:geography> hint — the actual map is resolved and rendered by PowerPoint 2016+/Microsoft 365 at open time, so the region names must match PowerPoint's geography database or the map renders blank.
Properties
cultureLanguage?
optionalcultureLanguage?:string
Defined in: src/types/chart.ts:661
BCP-47 language used to interpret the region names, e.g. 'en-US' (the default).
cultureRegion?
optionalcultureRegion?:string
Defined in: src/types/chart.ts:663
ISO region the names are scoped to, e.g. 'US' (the default) or 'FR'.