BackgroundStyle
@elastic/charts • Exports
@elastic/charts / BackgroundStyle
Interface: BackgroundStyle
The background style applied to the chart. This is used to coordinate adequate contrast of the text in partition and treemap charts.
Contents
Properties
color
color:
string
The background color
Source
packages/charts/src/utils/themes/theme.ts:385
fallbackColor
fallbackColor:
string
The fallback background color used for constrast logic. Must be opaque, alpha value will be ignored otherwise.
Source
packages/charts/src/utils/themes/theme.ts:390
Generated using typedoc-plugin-markdown and TypeDoc