Vico

3.4. Legend

3.4.1. Overview

A Legend describes the elements present on a chart. There are two built-in implementations: HorizontalLegend and VerticalLegend. These Legends consist of LegendItems.

See 6.1.4 for HorizontalLegend and VerticalLegend creation in Compose.

3.4.2. Application

CartesianCharts accept Legends via the legend constructor parameter.