API REFERENCE

theme

The theme used for chart colors and typography. Pass a theme name or a supported theme object. Page and chart themes are separate; update both in your app.

Definition

ItemValue
JavaScript propertytheme
HTML attributePass objects, arrays, and callbacks as JavaScript properties
TypeChartThemeName | ChartTheme
Defaultundefined
Literals in the typelight, dark, high-contrast

undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.