Chart
Dumbbell
Web supportediOS supportedAndroid supported
Compare a before and after value for each item.
Chart
Compare a before and after value for each item.
Use it when the change between two known states is the main point.
Keys accepted inside zyplot(z => ({...})). Required keys are marked with an asterisk.
| Name | Type | Default | Description |
|---|---|---|---|
rows* | ChartDumbbellRow[] | — | Before and after values. |
beforeLabel | string | — | Label for the first value. Web only. |
afterLabel | string | — | Label for the second value. Web only. |
format | ChartNumberFormat | — | Number prefix, suffix, decimals, and locale. |
axis | ChartAxes | { x: true, y: true } | Show or hide each axis. |
xAxis | NativeChartAxisOptions | — | Horizontal scale, domain, ticks, grid, and labels. |
yAxis | NativeChartAxisOptions | — | Vertical scale, domain, ticks, grid, and labels. |
height | number | 240 web / 320 native | Chart height in pixels or native points. |
isLoading | boolean | false | Shows the built-in placeholder while data loads. |
theme | ChartTheme | — | Colors and typography for this chart. |