Skip to content

Interface: Scatter3dTraceLine ​

Line style (mode lines).

Properties ​

PropertyTypeDefault valueDescription
autocolorscale?booleanundefinedPick 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?booleanundefinedCompute the color domain from the numeric line.color values. Defaults to false when both cmin and cmax are given.
cmax?numberundefinedValue mapped to the last colorscale color (with cmin; turns cauto off).
cmid?numberundefinedWith cauto, widen the automatic domain so it is symmetric around this value (diverging data).
cmin?numberundefinedValue mapped to the first colorscale color (with cmax; turns cauto off).
color?PerPointColorundefinedLine 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?ColorbarundefinedThe colorbar of this colorscale (plan E5.3).
colorscale?| readonly string[] | ColorScale | readonly readonly (string | number)[][]undefinedColorscale 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?Scatter3dTraceLineLightingundefinedPlotly's lighting model: coefficients of the ambient, diffuse and specular light. With scene.lighting, they scale the scene's lights.
lightposition?Scatter3dTraceLineLightpositionundefinedPosition of the light (Plotly's model, without scene.lighting), in clip space: it moves with the view.
material?Bar3dTraceMaterialundefinedThe material of the surface (Holochart extension). Plotly figures keep the default, plotly.
radius?number0.01Tube 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?booleanfalseReverse the colorscale (the lowest value gets the last color).
ribbon?Scatter3dTraceLineRibbonundefinedThe ribbon of render: 'ribbon'.
showscale?booleanfalseShow a colorbar for this colorscale (drawn by the colorbar component, plan E5.3).
width?number2Line width in CSS px, at every depth (screen-space lines). Minimum: 0

Released under the MIT License.