OptionalanimationEnter / update animation of this chart (default: the SDK setting, setAnimation)
Optionalaxesbreaks apply to the value axis only (axes.y; horizontal bars: axes.x; 2D)
OptionalbackgroundBackground tracks behind the bars, across the whole value axis (2D): true for the theme
default or a color / opacity. Grouped bars get one per bar slot (hidden series drop theirs),
stacked / percent bars one per category. Not hover targets
OptionalbarCSS pixels between the bars of a group / between stacked segments (default: 2)
OptionalbarBar width in world units (default: 72% of the slot)
OptionalcolorDefault bar color when an item has none (default: first palette color)
OptionalcornerRadius of the rounded data-end corners in CSS pixels, 2D only (default: 4)
OptionaldecalPattern fills over the bars (2D, not pictorial bars) (accessibility, ECharts aria.decal): true gives each series (single series: each item category) its
own automatic pattern; options apply over the automatic patterns (default off).
OptionaldescriptionAccessible name of the canvas; replaces the auto summary (which moves to the description)
OptionalerrorLook of error bars (values come from error on items / series)
OptionalgridOptionalgroupEmpty fraction of each category slot between groups (default: 0.28; ignored with barThickness)
OptionalhoverHover style (barHighlightColor). See ChartHoverStyle.
OptionallabelsData labels on the bars: true, 'auto' (hide what does not fit / collides) or options (2D)
OptionallegendLegend. Multi-series: series toggle (re-stacks) / hover emphasis, shown for 2+ series in 2D.
Single series (on request, static): a key of the item category values (color of each
category's first bar) when items have categories, else one entry named seriesName
OptionalmaxOptionalmode'grouped': series side by side in each category (default). 'stacked': positive values
stack up and negative values stack down. 'percent': stacked, each category normalized to 100%.
Optionalorientation'horizontal': categories down the left axis, bars growing right (negative values left);
axes.x is then the value axis and axes.y the category axis. 2D only (default 'vertical')
OptionalpaddingOptionalrealtimeBar race (single-series 2D bars): bars are sorted by value (largest first: left, or top when
horizontal) and, re-rendered with new values and animation on, slide to their new rank by
label while category labels ride along and data labels count up. { max } keeps the
largest max bars (bars entering / leaving fade). The value axis takes the new domain at once
OptionalseriesSingle-series charts: series name of the legend entry (default: 'Value' in the chart language)
OptionalsymbolDefault 'circle'. path:// paths are scaled to the symbol box (aspect not kept)
OptionalsymbolValue the symbols are laid out against instead of the bar value: one value, or
[negative, positive] bounds for negative / positive bars
OptionalsymbolClip the symbols at the data value (default false)
OptionalsymbolGap on each side of a repeated symbol, px or percent of its value-axis size (default
'15%'); the gaps are re-spread so the run fills its length. A trailing ! ('10%!')
keeps gaps at both ends of the run too
OptionalsymbolScreen [right, down] offset, px or percent of the symbol size; one value for both
OptionalsymbolWhere a single symbol / the repeated run sits along the bar (default 'start')
Optionalsymbolfalse (default): one symbol. true: repeated over the bar length. A number: that many.
'fixed': as many as fit the bounding length (plot edge / symbolBoundingData), whatever
the value (combine with symbolClip for a "fill level" look)
OptionalsymbolRotation in degrees, positive = anticlockwise (default 0)
Optionalsymbol[width, height] on screen, or one value for both (default ['100%', '100%']). Percents:
of the bar thickness on the category axis; on the value axis of the bar length (or of the
symbolBoundingData length), or of the bar thickness when repeating
OptionaltitleOptionalviewOptionalwidth
Bar chart options (2D only;
mode/groupGap/barGapapply to series data) plus symbol defaults.