Skip to content

Interface: LineData ​

Experimental

Data accepted by LinePrimitive.

Extends ​

Properties ​

PropertyTypeDescriptionInherited from
capLineCapExperimental Default 'butt' (SVG / Plotly default). Also applies to dash ends.-
colorColorInputExperimental Per-point sRGB RGBA colors (interpolated along segments) or one color. Default opaque black.-
connectGaps?booleanExperimental Connect across NaN/null/non-finite points instead of breaking the line.LineGeometryInput.connectGaps
dashLineDashExperimental Dash style (Plotly line.dash semantics). Default 'solid'.-
joinLineJoinExperimental Default 'miter'.-
miterLimitnumberExperimental SVG miter limit (miter length / width). Default 4.-
opacitynumberExperimental Multiplies every color's alpha. Default 1.-
starts?ArrayLike<number>Experimental Start index (into x/y) of each polyline after the first. Omitted: a single polyline.LineGeometryInput.starts
widthScalarInputExperimental Width in CSS px: one value, or per point (styles the segment leaving that point). Default 2.-
xNumericArrayExperimentalLineGeometryInput.x
yNumericArrayExperimentalLineGeometryInput.y
z?NumericArrayExperimental Optional z for 3D lines.LineGeometryInput.z

Released under the MIT License.