Chart
Diverging bar
Web supportediOS supportedAndroid supported
Compare positive and negative values around zero.
Chart
Compare positive and negative values around zero.
Use it for gains and losses, variance, or change from a baseline.
Keys accepted inside zyplot(z => ({...})). Required keys are marked with an asterisk.
| Name | Type | Default | Description |
|---|---|---|---|
data* | ChartDatum[] | — | Signed values. |
format | ChartNumberFormat | — | Number prefix, suffix, decimals, and locale. |
orientation | "horizontal" | "vertical" | — | Direction of the bars. Web only. |
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. |