Skip to content

Interface: BarTraceMarkerLine ​

Bar outline.

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 marker.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?PerPointColorundefinedBar outline color, one per bar, or numbers mapped through its colorscale.
coloraxis?"coloraxis" | `coloraxis${number}`"coloraxis"Share a colorscale and domain with other traces through layout.coloraxis ('coloraxis', 'coloraxis2', …). Overrides this container's colorscale attributes.
colorscale?| readonly string[] | ColorScale | readonly readonly (string | number)[][]undefinedColorscale for numeric marker.line.color values: a name ('Viridis', 'RdBu', …), a list of colors, or [position, color] stops from 0 to 1.
reversescale?booleanfalseReverse the colorscale (the lowest value gets the last color).
width?PerPointNumber0Bar outline width in CSS px (centered on the edge), or one per bar. Minimum: 0

Released under the MIT License.