Legend
A Legend
describes the elements present on a chart. There are two built-in implementations: HorizontalLegend
and VerticalLegend
. These Legend
s consist of LegendItem
s.
See 6.1.4 for HorizontalLegend
and VerticalLegend
creation in Compose.
CartesianChart
s accept Legend
s via the legend
constructor parameter.