Skip to content

Interface: ColorbarSpec ​

Experimental

A colorbar request from one trace (E5.3).

Properties ​

PropertyModifierTypeDescription
attributesreadonlyReadonly<Record<string, unknown>>Experimental The defaulted colorbar attributes (marker.colorbar of the trace, or layout.coloraxisN.colorbar): thickness, len, x, y, anchors, title, tick attributes, … as declared by the schema.
cmaxreadonlynumberExperimental
cminreadonlynumberExperimental Data range the scale spans (after cauto / cmid).
coloraxis?readonlystringExperimental Shared coloraxis id ('coloraxis', 'coloraxis2', …) when the trace uses one.
colorscalereadonlyreadonly readonly [number, string][]Experimental Colorscale stops [position 0–1, CSS color], already reversed if reversescale.

Released under the MIT License.