Skip to content

Interface: TreemapTracePathbar ​

The path bar: where the current root sits in the hierarchy.

Properties ​

PropertyTypeDefault valueDescription
edgeshape?"/" | "\" | "|" | ">" | "<"">"Shape of the edges between path bar segments.
side?"top" | "bottom""top"Side of the chart the path bar is on.
textfont?TreemapTracePathbarTextfontundefinedFont of path bar labels. Defaults to textfont, with a color contrasting the segment.
thickness?numberundefinedThickness of the path bar in px. Default: pathbar.textfont.size plus 3 px on each side. Minimum: 12
visible?booleantrueWhether the path bar is drawn: the ancestors of the current root (level) as a bar outside the domain, one pixel away. Clicking a segment goes up to it.

Released under the MIT License.