Legend

Overview

A Legendarrow-up-right describes the elements present on a chart. There are two built-in implementations: HorizontalLegendarrow-up-right and VerticalLegendarrow-up-right. These Legends consist of LegendItemarrow-up-rights.

Learn about HorizontalLegend and VerticalLegend creation in Compose.

Application

CartesianChartarrow-up-rights accept Legends via the legend constructor parameter.

Last updated