ChartGradientColorStopProps
Defines a single color stop within a linear or radial gradient.
Props
The following table outlines the props for the ChartGradientColorStopProps:
| Name | Type | Default | Description |
|---|---|---|---|
| brighten | number | 0 | The brightness adjustment for the color. |
| color | string | '' | Specifies the color of the stop. Invalid or unsafe color tokens are removed during validation. |
| lighten | number | 0 | The lightness adjustment for the color. |
| offset | string | number | '' | Specifies the position of the color stop along the gradient vector. Accepts a number (0-100) or a percentage string; normalized to a percentage string internally. |
| opacity | number | 1 | Specifies the opacity of the stop color, clamped between 0 and 1. |