When to use it
Preserve input order and use aligned cohorts. Applications own conversion percentages and aggregation.
Compares ordered nonnegative conversion stages with exact measurements.
Apple availability
Import LumenUI in the target that uses this component. iPad support follows the iOS package baseline and uses native iPad layout behavior.
Native example
Preserve input order and use aligned cohorts. Applications own conversion percentages and aggregation.
LumenFunnelChart(data: [.init(id: "visits", label: "Visits", value: 4800)], label: "Activation funnel")Reference
The primary shared and platform-specific options exposed by LumenFunnelChart.
| API | Values or type | Default | Description |
|---|---|---|---|
| data | LumenFunnelDatum[] | Required | Unique nonempty IDs, labels, nullable nonnegative finite values, and optional tone. |
| labels | Localized chart labels | English | Formats exact values and empty/invalid/missing states. |
| showData | Boolean | true | Provides the visible expandable exact values. |
Native behavior
Preserve input order and use aligned cohorts. Applications own conversion percentages and aggregation.
Visible values and an expandable data list distinguish missing stages from zero.
Shared component