DevExtreme v23.1 is now available.

Explore our newest features/capabilities and share your thoughts with us.

GradientColor

Specifies colors on which gradient is based.

import { GradientColor } from "devextreme/common/charts"
Type:

Object

color

Specifies one of the gradient colors.

Type:

String

Default Value: undefined

offset

Specifies the starting point of a color.

Type:

Number

|

String

Default Value: undefined