AgChartTheme
This object is used to define the configuration for a custom chart theme.
- baseTheme
AgChartThemeName - The name of the theme to base your theme on. Your custom theme will inherit all the configuration from the base theme, allowing you to override just the settings you wish to change using the `overrides` config (see below).
- palette
AgChartThemePalette - The palette to use. If specified, this replaces the palette from the base theme.
-
- fills
AgColorType[] - The array of fills to be used. An array of colour strings, or fill objects for gradients, patterns, or images.
- strokes
CssColor[] - The array of strokes to be used.
- up
AgPaletteColors - Colours used for positive or upward values, such as rising prices in Financial Charts.
- down
AgPaletteColors - Colours used for negative or downward values, such as falling prices in Financial Charts.
- neutral
AgPaletteColors - Colours used for neutral values, such as unchanged prices in financial charts.
- fills
- params
AgChartThemeParams - Global parameters to set styles across the whole chart. See: [Theme Parameters Reference](/theme-parameters-api/)
-
- axisLabelColor
AgCssColorOrRefdefault: textColor - Colour of axis tick labels. A colour string, or a theme-colour reference object.
- axisLabelFontFamily
FontFamilyFulldefault: fontFamily - Font family of axis tick labels. A single family name, or an array of names used as fallbacks.
- axisLabelFontSize
FontSizedefault: fontSize - Font size of axis tick labels.
- axisLabelFontWeight
FontWeightdefault: fontWeight - Font weight of axis tick labels.
- axisLabelLineHeight
Ratiodefault: lineHeight - Line height of axis tick labels, as a ratio of their font size.
- axisLineColor
AgCssColorOrRefdefault: borderColor - Default colour for axis lines and ticks. A colour string, or a theme-colour reference object.
- axisLineWidth
PixelSize - Default width for axis lines. Does not apply to ticks.
- axisTitleColor
AgCssColorOrRefdefault: textColor - Colour of axis titles. A colour string, or a theme-colour reference object.
- axisTitleFontFamily
FontFamilyFulldefault: fontFamily - Font family of axis titles. A single family name, or an array of names used as fallbacks.
- axisTitleFontSize
FontSize - Font size of axis titles. Follows fontSize, keeping the same proportion to it.
- axisTitleFontWeight
FontWeightdefault: fontWeight - Font weight of axis titles.
- axisTitleLineHeight
Ratiodefault: lineHeight - Line height of axis titles, as a ratio of their font size.
- bandHighlightColor
AgCssColorOrRefdefault: foregroundColor + backgroundColor - Colour of the band highlight. A colour string, or a theme-colour reference object.
- chartBackgroundColor
AgCssColorOrRefdefault: backgroundColor - Colour painted behind the chart. Follows backgroundColor, which is also blended into text, borders and other backgrounds - so change that one to shift the whole theme, and this one to repaint the chart alone. A colour string, or a theme-colour reference object.
- chartPadding
PixelSize - The outer chart padding.
- lineHeight
Ratio - Default line height for all text, as a ratio of each text element's font size, e.g. `1.5`. When unset, text uses the natural line height of its font.
- chromeFontFamily
FontFamilyFulldefault: fontFamily - Font family used for text in tooltips, menus, dialogs, toolbars, buttons and text inputs. A single family name, or an array of names used as fallbacks.
- chromeFontSize
FontSizedefault: fontSize - Font size used for text in tooltips, menus, dialogs, toolbars, buttons and text inputs.
- chromeFontWeight
FontWeightdefault: fontWeight - Font weight used for text in tooltips, menus, dialogs, toolbars, buttons and text inputs.
- chromeLineHeight
Ratiodefault: lineHeight - Line height of text in tooltips, menus, dialogs, toolbars, buttons and text inputs, as a ratio of their font size.
- chromeSubtleTextColor
AgCssColorOrRefdefault: subtleTextColor - Colour of text that should stand out less than the default in tooltips, menus, dialogs, toolbars and buttons. A colour string, or a theme-colour reference object.
- chromeTextColor
AgCssColorOrRefdefault: textColor - Default colour for text in tooltips, menus, dialogs, toolbars, buttons and text inputs. A colour string, or a theme-colour reference object.
- crosshairLabelBackgroundColor
AgCssColorOrRefdefault: foregroundColor - Background colour of crosshair labels. A colour string, or a theme-colour reference object.
- crosshairLabelTextColor
AgCssColorOrRefdefault: backgroundColor - Colour for text in crosshair labels. A colour string, or a theme-colour reference object.
- titleColor
AgCssColorOrRefdefault: textColor - Colour of the chart title text. A colour string, or a theme-colour reference object.
- titleFontFamily
FontFamilyFulldefault: fontFamily - Font family of the chart title. A single family name, or an array of names used as fallbacks.
- titleFontSize
FontSize - Font size of the chart title. Follows fontSize, keeping the same proportion to it.
- titleFontWeight
FontWeightdefault: fontWeight - Font weight of the chart title.
- titleLineHeight
Ratiodefault: lineHeight - Line height of the chart title, as a ratio of its font size.
- subtitleColor
AgCssColorOrRefdefault: subtleTextColor - Colour of the chart subtitle text. A colour string, or a theme-colour reference object.
- subtitleFontFamily
FontFamilyFulldefault: fontFamily - Font family of the chart subtitle. A single family name, or an array of names used as fallbacks.
- subtitleFontSize
FontSize - Font size of the chart subtitle. Follows fontSize, keeping the same proportion to it.
- subtitleFontWeight
FontWeightdefault: fontWeight - Font weight of the chart subtitle.
- subtitleLineHeight
Ratiodefault: lineHeight - Line height of the chart subtitle, as a ratio of its font size.
- footnoteColor
AgCssColorOrRefdefault: subtleTextColor - Colour of the chart footnote text. A colour string, or a theme-colour reference object.
- footnoteFontFamily
FontFamilyFulldefault: fontFamily - Font family of the chart footnote. A single family name, or an array of names used as fallbacks.
- footnoteFontSize
FontSize - Font size of the chart footnote. Follows fontSize, keeping the same proportion to it.
- footnoteFontWeight
FontWeightdefault: fontWeight - Font weight of the chart footnote.
- footnoteLineHeight
Ratiodefault: lineHeight - Line height of the chart footnote, as a ratio of its font size.
- gridLineWidth
PixelSize - Default width for grid lines.
- groupedCategoryLineColor
AgCssColorOrRefdefault: foregroundColor + backgroundColor - Default colour for grouped-category separation lines. A colour string, or a theme-colour reference object.
- gridLineColor
AgCssColorOrRefdefault: axisLineColor + backgroundColor - Default colour for grid lines. A colour string, or a theme-colour reference object.
- legendBorder
boolean | AgBorderThemeParam - Border around the legend and the gradient legend. `true` for the default border, `false` to disable, or an object to customise it.
- legendBorderRadius
PixelSizedefault: borderRadius - Corner radius of the legend and the gradient legend.
- legendItemHorizontalPadding
PixelSize - Horizontal padding around each legend item. Applies to the legend only, not the gradient legend.
- legendItemVerticalPadding
PixelSize - Vertical padding around each legend item. Applies to the legend only, not the gradient legend.
- legendLabelColor
AgCssColorOrRefdefault: textColor - Colour of the legend item labels, the legend pagination label and the gradient legend scale labels. A colour string, or a theme-colour reference object.
- legendLabelFontFamily
FontFamilyFulldefault: fontFamily - Font family of the legend item labels, the legend pagination label and the gradient legend scale labels. A single family name, or an array of names used as fallbacks.
- legendLabelFontSize
FontSizedefault: fontSize - Font size of the legend item labels, the legend pagination label and the gradient legend scale labels.
- legendLabelFontWeight
FontWeightdefault: fontWeight - Font weight of the legend item labels and the gradient legend scale labels.
- legendLabelLineHeight
Ratiodefault: lineHeight - Line height of the legend item labels, the legend pagination label and the gradient legend scale labels, as a ratio of their font size.
- legendMarkerSize
PixelSize - Size of the legend item markers. Applies to the legend only, not the gradient legend.
- legendPadding
PixelSize - Padding inside the legend and the gradient legend. Applied only when the legend has a border or a `fill` set in its options.
- scrollbarThickness
PixelSize - Thickness of the scrollbar track.
- scrollbarThumbBackgroundColor
AgCssColorOrRefdefault: foregroundColor + backgroundColor - Background colour of the scrollbar thumb. A colour string, or a theme-colour reference object.
- scrollbarThumbBorder
boolean | AgBorderThemeParamdefault: borderColor + foregroundColor - Border around the scrollbar thumb. `true` for the default border, `false` to disable, or an object to customise it.
- scrollbarThumbBorderRadius
PixelSize - Corner radius of the scrollbar thumb.
- scrollbarTrackBackgroundColor
AgCssColorOrRefdefault: foregroundColor + backgroundColor - Background colour of the scrollbar track. A colour string, or a theme-colour reference object.
- scrollbarTrackBorder
boolean | AgBorderThemeParamdefault: borderColor + foregroundColor - Border around the scrollbar track. `true` for the default border, `false` to disable, or an object to customise it.
- scrollbarTrackBorderRadius
PixelSize - Corner radius of the scrollbar track.
- scrollbarThumbHoverBackgroundColor
AgCssColorOrRefdefault: scrollbarThumbBackgroundColor + foregroundColor - Background colour of the scrollbar thumb when hovered. A colour string, or a theme-colour reference object.
- scrollbarThumbHoverBorder
boolean | AgBorderThemeParamdefault: scrollbarThumbBorder + foregroundColor - Border around the scrollbar thumb when hovered. `true` for the default border, `false` to disable, or an object to customise it.
- seriesLabelBorder
boolean | AgBorderThemeParam - Border around series labels. A border otherwise shows only where a series enables `label.border`. `true` for the default border, `false` to disable, or an object to customise it.
- seriesLabelBorderRadius
PixelSizedefault: borderRadius - Corner radius of series label backgrounds and borders.
- seriesLabelFontFamily
FontFamilyFulldefault: fontFamily - Font family used for series labels. A single family name, or an array of names used as fallbacks.
- seriesLabelFontSize
FontSizedefault: fontSize - Font size used for series labels. Secondary series labels scale relative to it.
- seriesLabelFontWeight
FontWeightdefault: fontWeight - Font weight used for series labels. Treemap secondary labels and map-shape labels keep their own default weights (normal and bold) unless this differs from `fontWeight`. To change them when the two are equal, set `fontWeight` on the series label directly.
- seriesLabelInsideBackgroundColor
AgCssColorOrRef - Background colour of series labels placed inside series shapes, such as bar labels with an `inside-*` placement and pie sector labels. A fully transparent colour, such as `'transparent'`, draws no background box; any other colour boxes the label, which adds padding and can hide labels that no longer fit. A colour string, or a theme-colour reference object.
- seriesLabelInsideTextColor
AgCssColorOrRefdefault: chartBackgroundColor - Colour for text of series labels placed inside series shapes, such as bar labels with an `inside-*` placement and pie sector labels. Range-area inside labels use `textColor` instead. A colour string, or a theme-colour reference object.
- seriesLabelLineHeight
Ratiodefault: lineHeight - Line height of series labels, as a ratio of their font size.
- seriesLabelOutsideBackgroundColor
AgCssColorOrRef - Background colour of series labels placed outside series shapes, such as bar labels with an `outside-*` placement and pie callout labels. A fully transparent colour, such as `'transparent'`, draws no background box; any other colour boxes the label, which adds padding and can hide labels that no longer fit. A colour string, or a theme-colour reference object.
- seriesLabelOutsideTextColor
AgCssColorOrRefdefault: textColor - Colour for text of series labels placed outside series shapes, such as bar labels with an `outside-*` placement and pie callout labels. A colour string, or a theme-colour reference object.
- panelSubtleTextColor
AgCssColorOrRefdefault: chromeSubtleTextColor - Colour of text that should stand out less in panels and dialogs. A colour string, or a theme-colour reference object.
- tooltipBorderRadius
PixelSizedefault: borderRadius - Corner radius for tooltips.
- tooltipSubtleTextColor
AgCssColorOrRefdefault: chromeSubtleTextColor - Colour of text that should stand out less in tooltips. A colour string, or a theme-colour reference object.
- backgroundColor
AgCssColorOrRef - Background colour of the chart. Most text, borders and backgrounds are defined as a blend between the background and foreground colours. A colour string, or a theme-colour reference object.
- foregroundColor
AgCssColorOrRef - Default colour for neutral UI elements. Most text, borders and backgrounds are defined as a blend between the background and foreground colours. A colour string, or a theme-colour reference object.
- accentColor
AgCssColorOrRef - The 'brand colour' for the chart, used wherever a non-neutral colour is required. Selections, focus outlines and checkboxes use the accent colour by default. A colour string, or a theme-colour reference object.
- borderColor
AgCssColorOrRefdefault: foregroundColor + backgroundColor - Default colour for borders. A colour string, or a theme-colour reference object.
- borderRadius
PixelSize - Default corner radius for many UI elements such as menus and dialogs.
- borderWidth
PixelSize - Default width for borders.
- buttonActiveBackgroundColor
AgCssColorOrRefdefault: backgroundColor + accentColor - Background colour of buttons in the active (toggled or selected) state, such as a toggled toolbar button or a selected menu item. A colour string, or a theme-colour reference object.
- buttonActiveBorder
boolean | AgBorderThemeParamdefault: color: accentColor - Border of buttons in the active (toggled or selected) state. `true` to use `buttonBorder`, `false` for no visible border, or an object to customise it. Any colour or width left unset in the object follows `buttonBorder`.
- buttonActiveTextColor
AgCssColorOrRefdefault: accentColor - Text colour of buttons in the active (toggled or selected) state. A colour string, or a theme-colour reference object.
- buttonBackgroundColor
AgCssColorOrRefdefault: chromeBackgroundColor - Background colour of standard action buttons. A colour string, or a theme-colour reference object.
- buttonBorder
boolean | AgBorderThemeParamdefault: color: borderColor, width: borderWidth - Border around standard action buttons. `true` for the default border, `false` to disable, or an object to customise it.
- buttonBorderRadius
PixelSizedefault: borderRadius - Corner radius for buttons.
- buttonFontWeight
FontWeight - Font weight of standard action buttons.
- buttonHoverBackgroundColor
AgCssColorOrRefdefault: backgroundColor + accentColor - Background colour of buttons when hovered. A colour string, or a theme-colour reference object.
- buttonTextColor
AgCssColorOrRefdefault: chromeTextColor - Text colour of standard action buttons. A colour string, or a theme-colour reference object.
- buttonDisabledBackgroundColor
AgCssColorOrRefdefault: buttonBackgroundColor + foregroundColor - Background colour of disabled buttons. A colour string, or a theme-colour reference object.
- buttonDisabledBorder
boolean | AgBorderThemeParamdefault: buttonBorder - Border of disabled buttons. `true` to use `buttonBorder`, `false` for no visible border, or an object to customise it. Any colour or width left unset in the object follows `buttonBorder`.
- buttonDisabledTextColor
AgCssColorOrRefdefault: chromeBackgroundColor + buttonTextColor - Text colour of disabled buttons. A colour string, or a theme-colour reference object.
- buttonHoverBorder
boolean | AgBorderThemeParamdefault: buttonBorder - Border of buttons when hovered. `true` to use `buttonBorder`, `false` for no visible border, or an object to customise it. Any colour or width left unset in the object follows `buttonBorder`.
- buttonHoverTextColor
AgCssColorOrRefdefault: buttonTextColor - Text colour of buttons when hovered. A colour string, or a theme-colour reference object.
- colorPickerColorBorderRadius
PixelSizedefault: borderRadius - Corner radius of the colour swatch in the colour picker. Defaults to half of `borderRadius`.
- colorPickerThumbBorderWidth
PixelSize - Width of the ring drawn around the draggable thumbs of the colour picker.
- colorPickerThumbSize
PixelSize - Size of the draggable thumbs of the colour picker.
- colorPickerTrackBorderRadius
PixelSizedefault: borderRadius - Corner radius of the hue and opacity tracks of the colour picker. Defaults to 99 times `borderRadius`.
- colorPickerTrackSize
PixelSize - Height of the hue and opacity tracks of the colour picker.
- dragHandleColor
AgCssColorOrRefdefault: chromeTextColor - Colour of the drag handle icons on dialogs and floating toolbars. The icon is drawn at half the opacity of this colour. A colour string, or a theme-colour reference object.
- focusShadow
CssShadow - Shadow around UI controls that have focus e.g. text inputs and buttons. The value must be a valid CSS box-shadow.
- fontFamily
FontFamilyFull - Font family used for all text. A single family name, or an array of names used as fallbacks.
- fontSize
FontSize - Default font size used for all text. Titles and some other text are scaled to this font size.
- fontWeight
FontWeight - Default font weight used for all text.
- inputBackgroundColor
AgCssColorOrRefdefault: backgroundColor - Background colour for text inputs. A colour string, or a theme-colour reference object.
- inputBorder
boolean | AgBorderThemeParamdefault: color: borderColor, width: borderWidth - Border around text inputs. `true` for the default border, `false` to disable, or an object to customise it.
- inputBorderRadius
PixelSizedefault: borderRadius - Corner radius for inputs.
- inputTextColor
AgCssColorOrRefdefault: textColor - Colour of text within text inputs. A colour string, or a theme-colour reference object.
- inputPlaceholderTextColor
AgCssColorOrRefdefault: inputTextColor + inputBackgroundColor - Colour of placeholder text in text inputs. A colour string, or a theme-colour reference object.
- popupShadow
CssShadow - Default shadow for elements that float above the chart and are intended to appear separated from it, e.g. dialogs, floating toolbars and context menus.
- panelBackgroundColor
AgCssColorOrRefdefault: chromeBackgroundColor - Background colour for panels and dialogs. A colour string, or a theme-colour reference object.
- cardShadow
CssShadowdefault: popupShadow - Shadow for elements that float above the chart and are intended to appear elevated but still attached, e.g. the dropdown menus of the toolbars and the colour picker. Defaults to `popupShadow`. The value must be a valid CSS box-shadow.
- chromeBackgroundColor
AgCssColorOrRefdefault: foregroundColor + backgroundColor - Background colour of tooltips, menus, dialogs, toolbars and buttons. A colour string, or a theme-colour reference object.
- subtleTextColor
AgCssColorOrRefdefault: foregroundColor + backgroundColor - Colour of text that should stand out less than the default. A colour string, or a theme-colour reference object.
- textColor
AgCssColorOrRefdefault: foregroundColor - Default colour for all text. A colour string, or a theme-colour reference object.
- tooltipBackgroundColor
AgCssColorOrRefdefault: chromeBackgroundColor - Background colour for tooltips. A colour string, or a theme-colour reference object.
- tooltipBorder
boolean | AgBorderThemeParamdefault: color: borderColor, width: borderWidth - Border around tooltips. `true` for the default border, `false` to disable, or an object to customise it.
- tooltipTextColor
AgCssColorOrRefdefault: chromeTextColor - Text colour for tooltips. A colour string, or a theme-colour reference object.
- axisLabelColor
- overrides
AgThemeOverrides - Configuration from this object is merged over the defaults specified in the base theme.
-
- common
AgCommonThemeableChartOptions - Common theme overrides for series.
- line
AgLineSeriesThemeOverrides - Line series theme overrides.
- scatter
AgScatterSeriesThemeOverrides - Scatter series theme overrides.
- bubble
AgBubbleSeriesThemeOverrides - Bubble series theme overrides.
- area
AgAreaSeriesThemeOverrides - Area series theme overrides.
- bar
AgBarSeriesThemeOverrides - Bar series theme overrides.
- box-plot
AgBoxPlotSeriesThemeOverrides - Box-plot series theme overrides.
- candlestick
AgCandlestickSeriesThemeOverrides - Candlestick series theme overrides.
- cone-funnel
AgConeFunnelSeriesThemeOverrides - Cone Funnel series theme overrides.
- funnel
AgFunnelSeriesThemeOverrides - Funnel series theme overrides.
- ohlc
AgOhlcSeriesThemeOverrides - ohlc series theme overrides.
- hlc
AgHlcSeriesThemeOverrides - HLC series theme overrides.
- histogram
AgHistogramSeriesThemeOverrides - Histogram series theme overrides.
- heatmap
AgHeatmapSeriesThemeOverrides - Heatmap series theme overrides.
- waterfall
AgWaterfallSeriesThemeOverrides - Waterfall series theme overrides.
- range-bar
AgRangeBarSeriesThemeOverrides - Range-bar series theme overrides.
- range-area
AgRangeAreaSeriesThemeOverrides - Range-area series theme overrides.
- donut
AgDonutSeriesThemeOverrides - Donut series theme overrides.
- pie
AgPieSeriesThemeOverrides - Pie series theme overrides.
- radar-line
AgRadarLineSeriesThemeOverrides - Radar-line series theme overrides.
- radar-area
AgRadarAreaSeriesThemeOverrides - Radar-area series theme overrides.
- radial-bar
AgRadialBarSeriesThemeOverrides - Radial-bar series theme overrides.
- radial-column
AgRadialColumnSeriesThemeOverrides - Radial-column series theme overrides.
- nightingale
AgNightingaleSeriesThemeOverrides - Nightingale series theme overrides.
- map-shape
AgMapShapeSeriesThemeOverrides - Map shape series theme overrides.
- map-line
AgMapLineSeriesThemeOverrides - Map line series theme overrides.
- map-marker
AgMapMarkerSeriesThemeOverrides - Map marker series theme overrides.
- map-shape-background
AgMapShapeBackgroundThemeOverrides - Map shape background series theme overrides.
- map-line-background
AgMapLineBackgroundThemeOverrides - Map line background series theme overrides.
- organization
AgOrganizationThemeOverrides - Organization series theme overrides.
- sankey
AgSankeyThemeOverrides - Sankey series theme overrides.
- chord
AgChordThemeOverrides - Chord series theme overrides.
- pyramid
AgPyramidThemeOverrides - Pyramid series theme overrides.
- sunburst
AgSunburstSeriesThemeOverrides - Sunburst series theme overrides.
- treemap
AgTreemapSeriesThemeOverrides - Treemap series theme overrides.
- radial-gauge
AgRadialGaugeThemeOverrides - Radial gauge theme overrides.
- linear-gauge
AgLinearGaugeThemeOverrides - Linear Gauge theme overrides.
- common
AgChartTheme
This object is used to define the configuration for a custom chart theme.
- baseTheme
AgChartThemeName - The name of the theme to base your theme on. Your custom theme will inherit all the configuration from the base theme, allowing you to override just the settings you wish to change using the `overrides` config (see below).
- palette
AgChartThemePalette - The palette to use. If specified, this replaces the palette from the base theme.
-
- fills
AgColorType[] - The array of fills to be used. An array of colour strings, or fill objects for gradients, patterns, or images.
- strokes
CssColor[] - The array of strokes to be used.
- up
AgPaletteColors - Colours used for positive or upward values, such as rising prices in Financial Charts.
- down
AgPaletteColors - Colours used for negative or downward values, such as falling prices in Financial Charts.
- neutral
AgPaletteColors - Colours used for neutral values, such as unchanged prices in financial charts.
- fills
- params
AgChartThemeParams - Global parameters to set styles across the whole chart. See: [Theme Parameters Reference](/theme-parameters-api/)
-
- axisLabelColor
AgCssColorOrRefdefault: textColor - Colour of axis tick labels. A colour string, or a theme-colour reference object.
- axisLabelFontFamily
FontFamilyFulldefault: fontFamily - Font family of axis tick labels. A single family name, or an array of names used as fallbacks.
- axisLabelFontSize
FontSizedefault: fontSize - Font size of axis tick labels.
- axisLabelFontWeight
FontWeightdefault: fontWeight - Font weight of axis tick labels.
- axisLabelLineHeight
Ratiodefault: lineHeight - Line height of axis tick labels, as a ratio of their font size.
- axisLineColor
AgCssColorOrRefdefault: borderColor - Default colour for axis lines and ticks. A colour string, or a theme-colour reference object.
- axisLineWidth
PixelSize - Default width for axis lines. Does not apply to ticks.
- axisTitleColor
AgCssColorOrRefdefault: textColor - Colour of axis titles. A colour string, or a theme-colour reference object.
- axisTitleFontFamily
FontFamilyFulldefault: fontFamily - Font family of axis titles. A single family name, or an array of names used as fallbacks.
- axisTitleFontSize
FontSize - Font size of axis titles. Follows fontSize, keeping the same proportion to it.
- axisTitleFontWeight
FontWeightdefault: fontWeight - Font weight of axis titles.
- axisTitleLineHeight
Ratiodefault: lineHeight - Line height of axis titles, as a ratio of their font size.
- bandHighlightColor
AgCssColorOrRefdefault: foregroundColor + backgroundColor - Colour of the band highlight. A colour string, or a theme-colour reference object.
- chartBackgroundColor
AgCssColorOrRefdefault: backgroundColor - Colour painted behind the chart. Follows backgroundColor, which is also blended into text, borders and other backgrounds - so change that one to shift the whole theme, and this one to repaint the chart alone. A colour string, or a theme-colour reference object.
- chartPadding
PixelSize - The outer chart padding.
- lineHeight
Ratio - Default line height for all text, as a ratio of each text element's font size, e.g. `1.5`. When unset, text uses the natural line height of its font.
- chromeFontFamily
FontFamilyFulldefault: fontFamily - Font family used for text in tooltips, menus, dialogs, toolbars, buttons and text inputs. A single family name, or an array of names used as fallbacks.
- chromeFontSize
FontSizedefault: fontSize - Font size used for text in tooltips, menus, dialogs, toolbars, buttons and text inputs.
- chromeFontWeight
FontWeightdefault: fontWeight - Font weight used for text in tooltips, menus, dialogs, toolbars, buttons and text inputs.
- chromeLineHeight
Ratiodefault: lineHeight - Line height of text in tooltips, menus, dialogs, toolbars, buttons and text inputs, as a ratio of their font size.
- chromeSubtleTextColor
AgCssColorOrRefdefault: subtleTextColor - Colour of text that should stand out less than the default in tooltips, menus, dialogs, toolbars and buttons. A colour string, or a theme-colour reference object.
- chromeTextColor
AgCssColorOrRefdefault: textColor - Default colour for text in tooltips, menus, dialogs, toolbars, buttons and text inputs. A colour string, or a theme-colour reference object.
- crosshairLabelBackgroundColor
AgCssColorOrRefdefault: foregroundColor - Background colour of crosshair labels. A colour string, or a theme-colour reference object.
- crosshairLabelTextColor
AgCssColorOrRefdefault: backgroundColor - Colour for text in crosshair labels. A colour string, or a theme-colour reference object.
- titleColor
AgCssColorOrRefdefault: textColor - Colour of the chart title text. A colour string, or a theme-colour reference object.
- titleFontFamily
FontFamilyFulldefault: fontFamily - Font family of the chart title. A single family name, or an array of names used as fallbacks.
- titleFontSize
FontSize - Font size of the chart title. Follows fontSize, keeping the same proportion to it.
- titleFontWeight
FontWeightdefault: fontWeight - Font weight of the chart title.
- titleLineHeight
Ratiodefault: lineHeight - Line height of the chart title, as a ratio of its font size.
- subtitleColor
AgCssColorOrRefdefault: subtleTextColor - Colour of the chart subtitle text. A colour string, or a theme-colour reference object.
- subtitleFontFamily
FontFamilyFulldefault: fontFamily - Font family of the chart subtitle. A single family name, or an array of names used as fallbacks.
- subtitleFontSize
FontSize - Font size of the chart subtitle. Follows fontSize, keeping the same proportion to it.
- subtitleFontWeight
FontWeightdefault: fontWeight - Font weight of the chart subtitle.
- subtitleLineHeight
Ratiodefault: lineHeight - Line height of the chart subtitle, as a ratio of its font size.
- footnoteColor
AgCssColorOrRefdefault: subtleTextColor - Colour of the chart footnote text. A colour string, or a theme-colour reference object.
- footnoteFontFamily
FontFamilyFulldefault: fontFamily - Font family of the chart footnote. A single family name, or an array of names used as fallbacks.
- footnoteFontSize
FontSize - Font size of the chart footnote. Follows fontSize, keeping the same proportion to it.
- footnoteFontWeight
FontWeightdefault: fontWeight - Font weight of the chart footnote.
- footnoteLineHeight
Ratiodefault: lineHeight - Line height of the chart footnote, as a ratio of its font size.
- gridLineWidth
PixelSize - Default width for grid lines.
- groupedCategoryLineColor
AgCssColorOrRefdefault: foregroundColor + backgroundColor - Default colour for grouped-category separation lines. A colour string, or a theme-colour reference object.
- gridLineColor
AgCssColorOrRefdefault: axisLineColor + backgroundColor - Default colour for grid lines. A colour string, or a theme-colour reference object.
- legendBorder
boolean | AgBorderThemeParam - Border around the legend and the gradient legend. `true` for the default border, `false` to disable, or an object to customise it.
- legendBorderRadius
PixelSizedefault: borderRadius - Corner radius of the legend and the gradient legend.
- legendItemHorizontalPadding
PixelSize - Horizontal padding around each legend item. Applies to the legend only, not the gradient legend.
- legendItemVerticalPadding
PixelSize - Vertical padding around each legend item. Applies to the legend only, not the gradient legend.
- legendLabelColor
AgCssColorOrRefdefault: textColor - Colour of the legend item labels, the legend pagination label and the gradient legend scale labels. A colour string, or a theme-colour reference object.
- legendLabelFontFamily
FontFamilyFulldefault: fontFamily - Font family of the legend item labels, the legend pagination label and the gradient legend scale labels. A single family name, or an array of names used as fallbacks.
- legendLabelFontSize
FontSizedefault: fontSize - Font size of the legend item labels, the legend pagination label and the gradient legend scale labels.
- legendLabelFontWeight
FontWeightdefault: fontWeight - Font weight of the legend item labels and the gradient legend scale labels.
- legendLabelLineHeight
Ratiodefault: lineHeight - Line height of the legend item labels, the legend pagination label and the gradient legend scale labels, as a ratio of their font size.
- legendMarkerSize
PixelSize - Size of the legend item markers. Applies to the legend only, not the gradient legend.
- legendPadding
PixelSize - Padding inside the legend and the gradient legend. Applied only when the legend has a border or a `fill` set in its options.
- scrollbarThickness
PixelSize - Thickness of the scrollbar track.
- scrollbarThumbBackgroundColor
AgCssColorOrRefdefault: foregroundColor + backgroundColor - Background colour of the scrollbar thumb. A colour string, or a theme-colour reference object.
- scrollbarThumbBorder
boolean | AgBorderThemeParamdefault: borderColor + foregroundColor - Border around the scrollbar thumb. `true` for the default border, `false` to disable, or an object to customise it.
- scrollbarThumbBorderRadius
PixelSize - Corner radius of the scrollbar thumb.
- scrollbarTrackBackgroundColor
AgCssColorOrRefdefault: foregroundColor + backgroundColor - Background colour of the scrollbar track. A colour string, or a theme-colour reference object.
- scrollbarTrackBorder
boolean | AgBorderThemeParamdefault: borderColor + foregroundColor - Border around the scrollbar track. `true` for the default border, `false` to disable, or an object to customise it.
- scrollbarTrackBorderRadius
PixelSize - Corner radius of the scrollbar track.
- scrollbarThumbHoverBackgroundColor
AgCssColorOrRefdefault: scrollbarThumbBackgroundColor + foregroundColor - Background colour of the scrollbar thumb when hovered. A colour string, or a theme-colour reference object.
- scrollbarThumbHoverBorder
boolean | AgBorderThemeParamdefault: scrollbarThumbBorder + foregroundColor - Border around the scrollbar thumb when hovered. `true` for the default border, `false` to disable, or an object to customise it.
- seriesLabelBorder
boolean | AgBorderThemeParam - Border around series labels. A border otherwise shows only where a series enables `label.border`. `true` for the default border, `false` to disable, or an object to customise it.
- seriesLabelBorderRadius
PixelSizedefault: borderRadius - Corner radius of series label backgrounds and borders.
- seriesLabelFontFamily
FontFamilyFulldefault: fontFamily - Font family used for series labels. A single family name, or an array of names used as fallbacks.
- seriesLabelFontSize
FontSizedefault: fontSize - Font size used for series labels. Secondary series labels scale relative to it.
- seriesLabelFontWeight
FontWeightdefault: fontWeight - Font weight used for series labels. Treemap secondary labels and map-shape labels keep their own default weights (normal and bold) unless this differs from `fontWeight`. To change them when the two are equal, set `fontWeight` on the series label directly.
- seriesLabelInsideBackgroundColor
AgCssColorOrRef - Background colour of series labels placed inside series shapes, such as bar labels with an `inside-*` placement and pie sector labels. A fully transparent colour, such as `'transparent'`, draws no background box; any other colour boxes the label, which adds padding and can hide labels that no longer fit. A colour string, or a theme-colour reference object.
- seriesLabelInsideTextColor
AgCssColorOrRefdefault: chartBackgroundColor - Colour for text of series labels placed inside series shapes, such as bar labels with an `inside-*` placement and pie sector labels. Range-area inside labels use `textColor` instead. A colour string, or a theme-colour reference object.
- seriesLabelLineHeight
Ratiodefault: lineHeight - Line height of series labels, as a ratio of their font size.
- seriesLabelOutsideBackgroundColor
AgCssColorOrRef - Background colour of series labels placed outside series shapes, such as bar labels with an `outside-*` placement and pie callout labels. A fully transparent colour, such as `'transparent'`, draws no background box; any other colour boxes the label, which adds padding and can hide labels that no longer fit. A colour string, or a theme-colour reference object.
- seriesLabelOutsideTextColor
AgCssColorOrRefdefault: textColor - Colour for text of series labels placed outside series shapes, such as bar labels with an `outside-*` placement and pie callout labels. A colour string, or a theme-colour reference object.
- panelSubtleTextColor
AgCssColorOrRefdefault: chromeSubtleTextColor - Colour of text that should stand out less in panels and dialogs. A colour string, or a theme-colour reference object.
- tooltipBorderRadius
PixelSizedefault: borderRadius - Corner radius for tooltips.
- tooltipSubtleTextColor
AgCssColorOrRefdefault: chromeSubtleTextColor - Colour of text that should stand out less in tooltips. A colour string, or a theme-colour reference object.
- backgroundColor
AgCssColorOrRef - Background colour of the chart. Most text, borders and backgrounds are defined as a blend between the background and foreground colours. A colour string, or a theme-colour reference object.
- foregroundColor
AgCssColorOrRef - Default colour for neutral UI elements. Most text, borders and backgrounds are defined as a blend between the background and foreground colours. A colour string, or a theme-colour reference object.
- accentColor
AgCssColorOrRef - The 'brand colour' for the chart, used wherever a non-neutral colour is required. Selections, focus outlines and checkboxes use the accent colour by default. A colour string, or a theme-colour reference object.
- borderColor
AgCssColorOrRefdefault: foregroundColor + backgroundColor - Default colour for borders. A colour string, or a theme-colour reference object.
- borderRadius
PixelSize - Default corner radius for many UI elements such as menus and dialogs.
- borderWidth
PixelSize - Default width for borders.
- buttonActiveBackgroundColor
AgCssColorOrRefdefault: backgroundColor + accentColor - Background colour of buttons in the active (toggled or selected) state, such as a toggled toolbar button or a selected menu item. A colour string, or a theme-colour reference object.
- buttonActiveBorder
boolean | AgBorderThemeParamdefault: color: accentColor - Border of buttons in the active (toggled or selected) state. `true` to use `buttonBorder`, `false` for no visible border, or an object to customise it. Any colour or width left unset in the object follows `buttonBorder`.
- buttonActiveTextColor
AgCssColorOrRefdefault: accentColor - Text colour of buttons in the active (toggled or selected) state. A colour string, or a theme-colour reference object.
- buttonBackgroundColor
AgCssColorOrRefdefault: chromeBackgroundColor - Background colour of standard action buttons. A colour string, or a theme-colour reference object.
- buttonBorder
boolean | AgBorderThemeParamdefault: color: borderColor, width: borderWidth - Border around standard action buttons. `true` for the default border, `false` to disable, or an object to customise it.
- buttonBorderRadius
PixelSizedefault: borderRadius - Corner radius for buttons.
- buttonFontWeight
FontWeight - Font weight of standard action buttons.
- buttonHoverBackgroundColor
AgCssColorOrRefdefault: backgroundColor + accentColor - Background colour of buttons when hovered. A colour string, or a theme-colour reference object.
- buttonTextColor
AgCssColorOrRefdefault: chromeTextColor - Text colour of standard action buttons. A colour string, or a theme-colour reference object.
- buttonDisabledBackgroundColor
AgCssColorOrRefdefault: buttonBackgroundColor + foregroundColor - Background colour of disabled buttons. A colour string, or a theme-colour reference object.
- buttonDisabledBorder
boolean | AgBorderThemeParamdefault: buttonBorder - Border of disabled buttons. `true` to use `buttonBorder`, `false` for no visible border, or an object to customise it. Any colour or width left unset in the object follows `buttonBorder`.
- buttonDisabledTextColor
AgCssColorOrRefdefault: chromeBackgroundColor + buttonTextColor - Text colour of disabled buttons. A colour string, or a theme-colour reference object.
- buttonHoverBorder
boolean | AgBorderThemeParamdefault: buttonBorder - Border of buttons when hovered. `true` to use `buttonBorder`, `false` for no visible border, or an object to customise it. Any colour or width left unset in the object follows `buttonBorder`.
- buttonHoverTextColor
AgCssColorOrRefdefault: buttonTextColor - Text colour of buttons when hovered. A colour string, or a theme-colour reference object.
- colorPickerColorBorderRadius
PixelSizedefault: borderRadius - Corner radius of the colour swatch in the colour picker. Defaults to half of `borderRadius`.
- colorPickerThumbBorderWidth
PixelSize - Width of the ring drawn around the draggable thumbs of the colour picker.
- colorPickerThumbSize
PixelSize - Size of the draggable thumbs of the colour picker.
- colorPickerTrackBorderRadius
PixelSizedefault: borderRadius - Corner radius of the hue and opacity tracks of the colour picker. Defaults to 99 times `borderRadius`.
- colorPickerTrackSize
PixelSize - Height of the hue and opacity tracks of the colour picker.
- dragHandleColor
AgCssColorOrRefdefault: chromeTextColor - Colour of the drag handle icons on dialogs and floating toolbars. The icon is drawn at half the opacity of this colour. A colour string, or a theme-colour reference object.
- focusShadow
CssShadow - Shadow around UI controls that have focus e.g. text inputs and buttons. The value must be a valid CSS box-shadow.
- fontFamily
FontFamilyFull - Font family used for all text. A single family name, or an array of names used as fallbacks.
- fontSize
FontSize - Default font size used for all text. Titles and some other text are scaled to this font size.
- fontWeight
FontWeight - Default font weight used for all text.
- inputBackgroundColor
AgCssColorOrRefdefault: backgroundColor - Background colour for text inputs. A colour string, or a theme-colour reference object.
- inputBorder
boolean | AgBorderThemeParamdefault: color: borderColor, width: borderWidth - Border around text inputs. `true` for the default border, `false` to disable, or an object to customise it.
- inputBorderRadius
PixelSizedefault: borderRadius - Corner radius for inputs.
- inputTextColor
AgCssColorOrRefdefault: textColor - Colour of text within text inputs. A colour string, or a theme-colour reference object.
- inputPlaceholderTextColor
AgCssColorOrRefdefault: inputTextColor + inputBackgroundColor - Colour of placeholder text in text inputs. A colour string, or a theme-colour reference object.
- popupShadow
CssShadow - Default shadow for elements that float above the chart and are intended to appear separated from it, e.g. dialogs, floating toolbars and context menus.
- panelBackgroundColor
AgCssColorOrRefdefault: chromeBackgroundColor - Background colour for panels and dialogs. A colour string, or a theme-colour reference object.
- cardShadow
CssShadowdefault: popupShadow - Shadow for elements that float above the chart and are intended to appear elevated but still attached, e.g. the dropdown menus of the toolbars and the colour picker. Defaults to `popupShadow`. The value must be a valid CSS box-shadow.
- chromeBackgroundColor
AgCssColorOrRefdefault: foregroundColor + backgroundColor - Background colour of tooltips, menus, dialogs, toolbars and buttons. A colour string, or a theme-colour reference object.
- subtleTextColor
AgCssColorOrRefdefault: foregroundColor + backgroundColor - Colour of text that should stand out less than the default. A colour string, or a theme-colour reference object.
- textColor
AgCssColorOrRefdefault: foregroundColor - Default colour for all text. A colour string, or a theme-colour reference object.
- tooltipBackgroundColor
AgCssColorOrRefdefault: chromeBackgroundColor - Background colour for tooltips. A colour string, or a theme-colour reference object.
- tooltipBorder
boolean | AgBorderThemeParamdefault: color: borderColor, width: borderWidth - Border around tooltips. `true` for the default border, `false` to disable, or an object to customise it.
- tooltipTextColor
AgCssColorOrRefdefault: chromeTextColor - Text colour for tooltips. A colour string, or a theme-colour reference object.
- axisLabelColor
- overrides
AgThemeOverrides - Configuration from this object is merged over the defaults specified in the base theme.
-
- common
AgCommonThemeableChartOptions - Common theme overrides for series.
- line
AgLineSeriesThemeOverrides - Line series theme overrides.
- scatter
AgScatterSeriesThemeOverrides - Scatter series theme overrides.
- bubble
AgBubbleSeriesThemeOverrides - Bubble series theme overrides.
- area
AgAreaSeriesThemeOverrides - Area series theme overrides.
- bar
AgBarSeriesThemeOverrides - Bar series theme overrides.
- box-plot
AgBoxPlotSeriesThemeOverrides - Box-plot series theme overrides.
- candlestick
AgCandlestickSeriesThemeOverrides - Candlestick series theme overrides.
- cone-funnel
AgConeFunnelSeriesThemeOverrides - Cone Funnel series theme overrides.
- funnel
AgFunnelSeriesThemeOverrides - Funnel series theme overrides.
- ohlc
AgOhlcSeriesThemeOverrides - ohlc series theme overrides.
- hlc
AgHlcSeriesThemeOverrides - HLC series theme overrides.
- histogram
AgHistogramSeriesThemeOverrides - Histogram series theme overrides.
- heatmap
AgHeatmapSeriesThemeOverrides - Heatmap series theme overrides.
- waterfall
AgWaterfallSeriesThemeOverrides - Waterfall series theme overrides.
- range-bar
AgRangeBarSeriesThemeOverrides - Range-bar series theme overrides.
- range-area
AgRangeAreaSeriesThemeOverrides - Range-area series theme overrides.
- donut
AgDonutSeriesThemeOverrides - Donut series theme overrides.
- pie
AgPieSeriesThemeOverrides - Pie series theme overrides.
- radar-line
AgRadarLineSeriesThemeOverrides - Radar-line series theme overrides.
- radar-area
AgRadarAreaSeriesThemeOverrides - Radar-area series theme overrides.
- radial-bar
AgRadialBarSeriesThemeOverrides - Radial-bar series theme overrides.
- radial-column
AgRadialColumnSeriesThemeOverrides - Radial-column series theme overrides.
- nightingale
AgNightingaleSeriesThemeOverrides - Nightingale series theme overrides.
- map-shape
AgMapShapeSeriesThemeOverrides - Map shape series theme overrides.
- map-line
AgMapLineSeriesThemeOverrides - Map line series theme overrides.
- map-marker
AgMapMarkerSeriesThemeOverrides - Map marker series theme overrides.
- map-shape-background
AgMapShapeBackgroundThemeOverrides - Map shape background series theme overrides.
- map-line-background
AgMapLineBackgroundThemeOverrides - Map line background series theme overrides.
- organization
AgOrganizationThemeOverrides - Organization series theme overrides.
- sankey
AgSankeyThemeOverrides - Sankey series theme overrides.
- chord
AgChordThemeOverrides - Chord series theme overrides.
- pyramid
AgPyramidThemeOverrides - Pyramid series theme overrides.
- sunburst
AgSunburstSeriesThemeOverrides - Sunburst series theme overrides.
- treemap
AgTreemapSeriesThemeOverrides - Treemap series theme overrides.
- radial-gauge
AgRadialGaugeThemeOverrides - Radial gauge theme overrides.
- linear-gauge
AgLinearGaugeThemeOverrides - Linear Gauge theme overrides.
- common