Skip to main content

ColorBandSimpleConfig

@elastic/chartsExports


@elastic/charts / ColorBandSimpleConfig

Interface: ColorBandSimpleConfig

Contents

Properties

colors

colors: string[]

Source

packages/charts/src/chart_types/bullet_graph/utils/color.ts:69


steps?

steps?: number | number[]

Distinct color steps to defined discrete color breakdown Defaults to intervals between ticks

Number - scales colors evenly n times, does not support continuous color blending (i.e. n >> 10) Array of numbers - defines the color stop positions

See https://gka.github.io/chroma.js/#scale-classes

Source

packages/charts/src/chart_types/bullet_graph/utils/color.ts:68


Generated using typedoc-plugin-markdown and TypeDoc