Skip to main content
161

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Android docs
Data displayAndroid

Pie chart

Show a small positive part-to-whole breakdown as a pie or donut.

Public APILumenPieChartAndroid / Compose

Native example

Use Pie chart

Use canonical visualization tokens and keep the application data model explicit. Provide a concise factual label, and retain the readable native fallback supplied by the component.

Pie chart rendered in the Android phone emulator Lumen playground
Verified runtime captureAndroid phone emulator
kotlin
LumenPieChart(
    series = revenueSeries,
    label = "Quarterly revenue"
)

Reference

Public API

The primary shared and platform-specific options exposed by LumenPieChart.

APIValues or typeDefaultDescription
labelStringRequiredProvides the concise accessible name for the visualization.
seriesTyped native chart dataRequiredSupplies finite values and stable identifiers through the shared chart contract.

Native behavior

Design and accessibility

When to use it

Use canonical visualization tokens and keep the application data model explicit. Provide a concise factual label, and retain the readable native fallback supplied by the component.

Accessibility

Provides a factual summary and navigable fallback data while decorative marks remain hidden.

Shared component

Available on other platforms

React NativeApple / SwiftUI
Android docsCompose module