Interface: Scatter3dTraceLine
Line style (mode lines).
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 line.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 | Line color, or one per point (numbers map through line.colorscale; the color is interpolated along each segment). Defaults to the marker color (when a single color) or 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 line.color values: a name ('Viridis', 'RdBu', …), a list of colors, or [position, color] stops from 0 to 1. |
dash? | "solid" | "dash" | "dot" | "dashdot" | "longdash" | "longdashdot" | "solid" | Dash style, measured in CSS px along the drawn line (render: "screen" only). |
lighting? | Scatter3dTraceLineLighting | undefined | Plotly's lighting model: coefficients of the ambient, diffuse and specular light. With scene.lighting, they scale the scene's lights. |
lightposition? | Scatter3dTraceLineLightposition | undefined | Position of the light (Plotly's model, without scene.lighting), in clip space: it moves with the view. |
material? | Bar3dTraceMaterial | undefined | The material of the surface (Holochart extension). Plotly figures keep the default, plotly. |
radius? | number | 0.01 | Tube radius (render: 'tube') as a fraction of the longest side of the scene's axis box (so tubes stay round whatever the axis scales). Minimum: 0 |
render? | "screen" | "tube" | "ribbon" | "screen" | How the line is drawn (a Holochart extension): 'screen' — Plotly's look, a flat band width CSS px wide at every depth; 'tube' — a lit tube of radius around the line; 'ribbon' — a lit strip swept along an axis (ribbon), e.g. waterfall plots of spectra. Tubes and ribbons are meshes: they scale with the view like the data, and take lighting, lightposition and material. |
reversescale? | boolean | false | Reverse the colorscale (the lowest value gets the last color). |
ribbon? | Scatter3dTraceLineRibbon | undefined | The ribbon of render: 'ribbon'. |
showscale? | boolean | false | Show a colorbar for this colorscale (drawn by the colorbar component, plan E5.3). |
width? | number | 2 | Line width in CSS px, at every depth (screen-space lines). Minimum: 0 |