ColorVariant
@elastic/charts • Exports
@elastic/charts / ColorVariant
Variable: ColorVariant
const
ColorVariant:Readonly
<Object
>
Color variants that are unique to @elastic/charts
. These go beyond the standard
static color allocations.
Type declaration
Adaptive
Adaptive:
"__use__adaptive__color__"
Computes best color based on background contrast
None
None:
"__use__empty__color__"
Uses empty color, similar to transparent.
Series
Series:
"__use__series__color__"
Uses series color. Rather than setting a static color, this will use the default series color for a given series.
Source
packages/charts/src/utils/common.tsx:43
Generated using typedoc-plugin-markdown and TypeDoc