Vico
Vico 2.1.0 (in alpha) adds Compose Multiplatform support. Switch guide versions.

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.