% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/legend.R
\name{prepare_legend}
\alias{prepare_legend}
\title{Prepare legend context from settings}
\usage{
prepare_legend(settings)
}
\arguments{
\item{settings}{Settings environment from tinyplot}
}
\value{
NULL (modifies settings environment in-place)
}
\description{
Main orchestrator that determines:
\itemize{
\item Whether to draw legend
\item Legend labels and formatting
\item Whether multi-legend is needed (for bubble charts)
\item Gradient legend setup for continuous grouping
}
}
\keyword{internal}
