prepare_legend: Prepare legend context from settings

View source: R/legend.R

prepare_legendR Documentation

Prepare legend context from settings

Description

Main orchestrator that determines:

  • Whether to draw legend

  • Legend labels and formatting

  • Whether multi-legend is needed (for bubble charts)

  • Gradient legend setup for continuous grouping

Usage

prepare_legend(settings)

Arguments

settings

Settings environment from tinyplot

Value

NULL (modifies settings environment in-place)


tinyplot documentation built on Nov. 29, 2026, 9:07 a.m.