Interface: TreemapTraceMarker
Tile style.
Properties
| Property | Type | Default value | Description |
|---|---|---|---|
autocolorscale? | boolean | undefined | Pick 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? | boolean | undefined | Compute the color domain from the numeric marker.colors values. Defaults to false when both cmin and cmax are given. |
cmax? | number | undefined | Value mapped to the last colorscale color (with cmin; turns cauto off). |
cmid? | number | undefined | With cauto, widen the automatic domain so it is symmetric around this value (diverging data). |
cmin? | number | undefined | Value mapped to the first colorscale color (with cmax; turns cauto off). |
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? | Colorbar | undefined | The colorbar of this colorscale (plan E5.3). |
colors? | DataColumn | undefined | Color of each tile: CSS colors, or numbers mapped through colorscale. Unset tiles take layout.<type>colorway colors on the first level and their parent's color below it. |
colorscale? | | readonly string[] | ColorScale | readonly readonly (string | number)[][] | undefined | Colorscale for numeric marker.colors values: a name ('Viridis', 'RdBu', …), a list of colors, or [position, color] stops from 0 to 1. |
cornerradius? | number | 0 | Largest corner radius of tiles, px (limited by the padding on the label side). Minimum: 0 |
depthfade? | boolean | "reversed" | undefined | Fade tile colors towards the background from the leaves up to the headers (reversed: from the top down to the leaves). Not with a colorscale; default true unless marker.colors is set. |
line? | TreemapTraceMarkerLine | undefined | Tile outlines. |
pad? | TreemapTraceMarkerPad | undefined | Padding inside branch tiles around their children, px. Defaults to twice textfont.size on the header's side (the top, the bottom with bottom text positions) and half of textfont.size elsewhere. |
pattern? | TreemapTraceMarkerPattern | undefined | Hatch pattern of the tile fill (drawn in screen px, for print and grayscale). |
reversescale? | boolean | false | Reverse the colorscale (the lowest value gets the last color). |
showscale? | boolean | false | Show a colorbar for this colorscale (drawn by the colorbar component, plan E5.3). |