horizon_legend: Legend for the horizon chart

View source: R/graphics.R

horizon_legendR Documentation

Legend for the horizon chart

Description

Legend for the horizon chart

Usage

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()`.

spiralize documentation built on June 22, 2024, 10:45 a.m.