Chart

Diverging bar

Web supportediOS supportedAndroid supported

Compare positive and negative values around zero.

ECharts bar series · View source

Use it for gains and losses, variance, or change from a baseline.

Configuration

Keys accepted inside zyplot(z => ({...})). Required keys are marked with an asterisk.

NameTypeDefaultDescription
data*ChartDatum[]—Signed values.
formatChartNumberFormat—Number prefix, suffix, decimals, and locale.
orientation"horizontal" | "vertical"—Direction of the bars. Web only.
axisChartAxes{ x: true, y: true }Show or hide each axis.
xAxisNativeChartAxisOptions—Horizontal scale, domain, ticks, grid, and labels.
yAxisNativeChartAxisOptions—Vertical scale, domain, ticks, grid, and labels.
heightnumber240 web / 320 nativeChart height in pixels or native points.
isLoadingbooleanfalseShows the built-in placeholder while data loads.
themeChartTheme—Colors and typography for this chart.