Legend for the horizon chart

horizon_legend(
  lt,
  title = "",
  format = "%.2f",
  template = "[{x1}, {x2}]",
  ...
)

Arguments

lt

The object returned by spiral_horizon().

title

Title of the legend.

format

Number format of the legend labels.

template

Template to construct the labels.

...

Pass to ComplexHeatmap::Legend().

Value

A ComplexHeatmap::Legend object.

Examples

# see examples in `spiral_horizon()`.