Skip to content

Interface: ContourTraceLine ​

Contour lines.

Properties ​

PropertyTypeDefault valueDescription
color?stringundefinedContour line color. Default: black; lines take their level's color with coloring: 'lines'. Constraint contours default to fillcolor made opaque.
dash?string"solid"Dash style: 'solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot', or a dash list such as '5px,10px,2px'.
smoothing?number1Smoothing of the contour lines and fills (Plotly’s spline smoothing): 0 draws straight segments between grid crossings. Range: 0 – 1.3
width?number0.5Contour line width in px (default 0.5, or 2 for constraint contours). Minimum: 0

Released under the MIT License.