GradientStop
@elastic/charts • Exports
@elastic/charts / GradientStop
Interface: GradientStop
A color stop of a gradient fill.
Contents
Properties
color
color:
string
a static color, or (ColorVariant:variable).Series to derive it from the series color
Source
packages/charts/src/utils/themes/theme.ts:721
offset
offset:
number
position of the stop within the gradient, in the [0, 1] range
Source
packages/charts/src/utils/themes/theme.ts:719
opacity?
opacity?:
number
optional opacity multiplier applied on top of the resolved stop color, in the [0, 1] range
Source
packages/charts/src/utils/themes/theme.ts:723
Generated using typedoc-plugin-markdown and TypeDoc