Skip to main content
196

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Android docs
Data displayAndroid

Bullet chart

Compare an actual value with a target and labeled performance ranges.

Public APILumenBulletChartAndroid / Compose

Native example

Use Bullet chart

Use a domain that includes zero and every supplied measurement. Localize targetLabel and labels for the application.

Bullet chart rendered in the Android phone emulator Lumen playground
Captured exampleAndroid phone emulator
kotlin
LumenBulletChart(value = 86.0, target = 95.0, label = "On-time delivery", domain = 0.0..100.0)

Reference

Public API

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

APIValues or typeDefaultDescription
value, targetNullable measurement, finite targetRequiredNull is unavailable; zero is a measured value.
rangesLumenBulletRange[][]Uses labeled finite range ends sorted without changing the source data.
domainFinite numeric rangeAutomaticIncludes zero, target, actual, and all ranges; invalid input fails closed.
labels, targetLabel, valueLabelLocalized chart labelsEnglishLabels the summary, visible measurements, and exact data list.
showDataBooleantrueProvides the expandable actual, target, and range boundaries.

Native behavior

Design and accessibility

When to use it

Use a domain that includes zero and every supplied measurement. Localize targetLabel and labels for the application.

Accessibility

Exposes exact actual, target, and range values; missing values remain distinct from zero.

Shared component

Available on other platforms

React NativeApple / SwiftUI
Android docsCompose module