Node / Charts · guide
Vertical bar chart
Current Apexify.js 6.0.0 documentation for Vertical bar chart.
BarChartType
standard | grouped | stacked | waterfall | lollipop
Set via options.type.
BarChartData — positioning & values
| Field | Role |
|---|---|
label | Category label (X band). |
value | Single column (standard, waterfall, lollipop). |
values | BarSegment[] for grouped / stacked. |
xStart, xEnd | Numeric X extent of the bar along the axis (continuous positioning). |
color, gradient | Bar / row fallback fill. |
labelColor, labelPosition | top | left | right | inside | bottom. |
valueColor, showValue | Value label styling. |
opacity, shadow, stroke | Per-bar overrides. |
BarSegment
value (required), color, gradient, label (custom value text), valueColor, showValue, opacity, shadow, stroke.
BarChartOptions highlights
| Block | Keys |
|---|---|
type | BarChartType. |
waterfall | initialValue — starting baseline for waterfall stepping. |
axes.x, axes.y | AxisConfig (range, values ticks, label, tickFontSize, …). Y supports baseline. |
bars | spacing, minWidth, groupSpacing, segmentSpacing, lineWidth, dotSize (lollipop), opacity, shadow, stroke. |
labels | title, barLabelDefaults, valueLabelDefaults. |
legend, grid | See shared. |
Axes (axes)
Vertical AxisConfig (impl/barchart.ts) supports label, labelColor, range, values, color, width, tickFontSize, valueSpacing. axes.y adds baseline for waterfall/spine alignment.
Richer behaviour (scale: 'log', dateTime, showTickMarks/showTickLabels) belongs to line / scatter / combo (impl/linechart.ts AxisConfig). Comparison bar panels still use this bar subset unless you switch the panel type.
Example — grouped (values)
Example — stacked + waterfall snippet
Stacked: type: 'stacked' — segment heights sum vertically.
Waterfall:
(Tune axes.y.range so negative deltas remain visible.)