Skip to main content

Legend

The Legend card controls the color bar that maps heatmap colors back to data values.

Visibility

PropertyDescriptionDefault
ShowShow or hide the legendOn

Position

PropertyDescriptionDefault
PositionWhere the legend is placed relative to the plot area: Right, Left, or BottomRight

Gradient Bar

The legend displays an 18 px-wide gradient bar that reproduces the active color scale from the minimum to the maximum value. Five tick labels are drawn alongside the bar, evenly distributed across the range.

Large values are automatically abbreviated:

RangeDisplayed as
≥ 1 000 000 000e.g. 1.2B
≥ 1 000 000e.g. 3.5M
≥ 1 000e.g. 42K
< 1 000Full number
Position choice
  • Right (default) — works well for wide visuals where vertical space is at a premium
  • Left — mirrors the default, useful when the right side of the visual is crowded
  • Bottom — best for tall or square visuals; the bar runs horizontally beneath the plot area