Interface: Scatter3dTraceMarker
Marker style (mode markers).
Properties
| Property | Type | Default value | Description |
|---|---|---|---|
autocolorscale? | boolean | undefined | Pick the colorscale from the sign of the color domain (Reds for ≥ 0, Blues for ≤ 0, RdBu across 0). Defaults to true unless colorscale is given. |
cauto? | boolean | undefined | Compute the color domain from the numeric marker.color values. Defaults to false when both cmin and cmax are given. |
cmax? | number | undefined | Value mapped to the last colorscale color (with cmin; turns cauto off). |
cmid? | number | undefined | With cauto, widen the automatic domain so it is symmetric around this value (diverging data). |
cmin? | number | undefined | Value mapped to the first colorscale color (with cmax; turns cauto off). |
color? | PerPointColor | undefined | Marker fill color, one CSS color per point, or numbers mapped through colorscale. Defaults to the colorway. |
coloraxis? | "coloraxis" | `coloraxis${number}` | "coloraxis" | Share a colorscale and domain with other traces through layout.coloraxis ('coloraxis', 'coloraxis2', …). Overrides this container's colorscale attributes. |
colorbar? | Colorbar | undefined | The colorbar of this colorscale (plan E5.3). |
colorscale? | | readonly string[] | ColorScale | readonly readonly (string | number)[][] | undefined | Colorscale for numeric marker.color values: a name ('Viridis', 'RdBu', …), a list of colors, or [position, color] stops from 0 to 1. |
line? | Scatter3dTraceMarkerLine | undefined | Marker outline. |
opacity? | number | undefined | Marker opacity. Translucent markers are sorted back to front as the camera moves. Range: 0 – 1 |
render? | "sprite" | "sphere" | "sprite" | How markers are drawn (a Holochart extension): 'sprite' — flat symbols facing the camera, Plotly's look; 'sphere' — lit, shaded spheres of the same size (every symbol draws as a sphere). |
reversescale? | boolean | false | Reverse the colorscale (the lowest value gets the last color). |
showscale? | boolean | false | Show a colorbar for this colorscale (drawn by the colorbar component, plan E5.3). |
size? | PerPointNumber | 8 | Marker diameter in CSS px, or one value per point (scaled by sizeref/sizemode). Minimum: 0 |
sizemin? | number | 0 | Minimum radius (px) of markers with per-point size values. Minimum: 0 |
sizemode? | "area" | "diameter" | "diameter" | How per-point size values become px: proportional to the diameter or to the area (bubble charts). |
sizeref? | number | 1 | Divides per-point size values (bubble charts; see sizemode). |
symbol? | PerPoint< | "x" | "circle" | "circle-open" | "cross" | "diamond" | "diamond-open" | "square" | "square-open"> | "circle" | Marker symbol (Plotly's 3D set), or one per point. |