Chart
Stacked bar
Web supportediOS supportedAndroid supported
Compare totals and their composition.
Chart
Compare totals and their composition.
Use it when the parts inside each total matter.
Keys accepted inside zyplot(z => ({...})). Required keys are marked with an asterisk.
| Name | Type | Default | Description |
|---|---|---|---|
categories* | string[] | — | Labels on the category axis. |
series* | ChartSeries[] | — | Named series aligned with the categories. |
format | ChartNumberFormat | — | Number prefix, suffix, decimals, and locale. |
isNormalized | boolean | — | Normalize every stack to 100%. Web only. |
orientation | "horizontal" | "vertical" | "vertical" | Direction in which the bars grow. |
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. |