Skip to content

Interface: ParcatsTraceLine ​

The paths, one per distinct combination and color.

Properties ​

PropertyTypeDefault valueDescription
autocolorscale?booleanundefinedPick the colorscale from the sign of the color domain (layout.colorscale.sequential, sequentialminus or diverging) instead of colorscale.
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?PerPointColorundefinedPath color: one CSS color, or one number per sample mapped through line.colorscale (samples of different colors form separate paths). Default: the trace color.
colorbar?ColorbarundefinedThe colorbar of this colorscale (plan E5.3).
colorscale?| ColorScale | readonly string[] | readonly readonly (string | number)[][]undefinedColorscale for numeric line.color values (one per sample): a name ('Viridis', 'RdBu', …), a list of colors, or [position, color] stops from 0 to 1.
hovertemplate?stringundefinedTemplate of the path hover labels: %{count}, %{probability}. Overrides hoverinfo for paths.
reversescale?booleanfalseReverse the colorscale (the lowest value gets the last color).
shape?"linear" | "hspline""linear"Path shape between dimensions: straight or a horizontal S-curve.
showscale?booleanfalseShow a colorbar for the line colorscale.

Released under the MIT License.