Interface: ScatterTraceFillgradient
A color gradient drawn instead of fillcolor (which still colors hover labels).
Properties
| Property | Type | Default value | Description |
|---|---|---|---|
colorscale? | | readonly string[] | ColorScale | readonly readonly (string | number)[][] | undefined | Gradient colors: a colorscale from the lowest to the highest value along the gradient direction, or from the center outwards for radial. |
start? | number | undefined | Where the gradient starts (colorscale position 0), as a value on the axis of the gradient direction. Default: the lowest value of the fill along that axis. Ignored for radial. |
stop? | number | undefined | Where the gradient ends (colorscale position 1), as a value on the axis of the gradient direction. Default: the highest value of the fill along that axis. Ignored for radial. |
type? | "none" | "radial" | "horizontal" | "vertical" | "none" | Gradient direction: along x ('horizontal'), along y ('vertical'), or outwards from the center of the fill's bounding box ('radial'). |