Skip to content

Interface: MarkerData ​

Experimental

Data accepted by MarkerSet.update. Every field is optional in updates.

Properties ​

PropertyTypeDescription
angleScalarInputExperimental Rotation in degrees, clockwise on screen (Plotly marker.angle). Default 0.
cmaxnumberExperimental
cmidnumber | nullExperimental Plotly semantics: widens cmin/cmax to be symmetric around cmid.
cminnumberExperimental
colorColorInputExperimental Fill color (sRGB 0–1 RGBA). Ignored while colorValues + colorscale are set.
colorscaleColorscale | nullExperimental
colorValuesArrayLike<number> | nullExperimental Numeric values mapped through colorscale (non-finite → nanColor).
imagestring | ArrayLike<string | null | undefined> | nullExperimental Image sprites (plan E8.11): a URL or data URI per set or per item (null / '' items keep their symbol). An image replaces the symbol: drawn in a size × size square keeping its aspect ratio, with opacity; color and the line are ignored. Loaded asynchronously (see ready).
lineColorColorInputExperimental
lineWidthScalarInputExperimental Border width in CSS px. Default 0.
nanColorRGBAExperimental
opacityScalarInputExperimental Multiplies fill and line alpha. Default 1.
originreadonly [number, number, number] | nullExperimental Explicit RTC origin; default: center of the finite data bounds, recomputed when x/y/z change.
reversescalebooleanExperimental
sizeScalarInputExperimental Diameter in CSS px. Default 6.
symbolSymbolInputExperimental
xArrayLike<number>Experimental Data-space x (float64 recommended).
yArrayLike<number>Experimental
zArrayLike<number> | nullExperimental Optional z for 3D.

Released under the MIT License.