Legend
Overview
A Legend describes the elements present on a chart. There are two built-in implementations: HorizontalLegend and VerticalLegend. These Legends consist of LegendItems.
Learn about HorizontalLegend and VerticalLegend creation in Compose.
Application
CartesianCharts accept Legends via the legend constructor parameter.
Last updated