Skip to content
Charts55Components12Visuals14ASCII45
GitHubGet startedGet started
  • All charts
  • Getting started

Trends3

  • Area
  • Line
  • Combo

Comparison4

  • Bar
  • Horizontal bar
  • Slope
  • RangeNew

Part of a whole4

  • Radial
  • Treemap
  • Funnel
  • Sankey

KPIs3

  • Stat cards
  • Progress
  • Activity ring

Patterns5

  • Heatmap
  • Cohort retentionNew
  • Scatter
  • Radar
  • Box plotNew

Cool23New

  • Chord loom
  • Rank ribbons
  • Event helix
  • Contour islands
  • Parallel ribbons
  • Sunburst terraces
  • Cluster constellation
  • Ternary prism
  • Wind rose
  • Marimekko blocks
  • Intersection towers
  • Horizon folds
  • Circle archipelago
  • Helix ribbons
  • Voxel cloud
  • Arc bridges
  • Terrain
  • Hex city
  • Voxel waffle
  • Skyline
  • Block city
  • Ridgeline
  • Spiral year

Finance13New

  • Candlestick
  • Indicators
  • Price
  • Depth
  • Order book
  • Portfolio
  • Watchlist
  • Market map
  • Volume profile
  • Monthly returns
  • Earnings
  • Yield curve
  • Options payoff

Customize10

  • Colors
  • Surfaces
  • Backgrounds
  • 3DNew
  • Axes
  • LegendsNew
  • Hover
  • Numbers
  • Loading
  • Empty

Features5New

  • Sync hover
  • Pin
  • Compare
  • Targets & forecasts
  • Performance

Reference2

  • API reference
  • Motion & accessibility
API reference/Chart families

Vertical bars

Grouped and stacked bars on a shared zero baseline, with lines over the stack.

  • Bar
  • ChartPlot bars
  • stack

Use <ChartPlot bars> with a Bar for each series. Visible series form a group at each observation; one visible series produces single bars. Time and numeric spacing is preserved, including missing observations. Null values have no bar. Positive and negative bars share an exact zero baseline.

Bars share visibility, keyboard inspection, comparison, focus, live updates and lifecycle with line and area charts. The layout reserves space for edge groups. For categorical rankings, use the horizontal-bar component below. For vertical stacked bars, add stack and include one Bar per contribution. Series left out of stack.series draw as lines over the stack on the same scale, such as a target.

TypeScript

<ChartPlot bars height={280} inspectionSeries="revenue" tooltip={<Tooltip />}>
  <Grid pattern="dots" />
  <Bar series="revenue" />
  <Bar series="previous" />
  <XAxis />
  <YAxis showTicks={false} />
</ChartPlot>

TypeScript

<ChartPlot bars={{ segmentGap: 2 }} stack={{ series: ['online', 'retail'] }}>
  <Bar series="online" /><Bar series="retail" /><Line series="target" />
  <XAxis /><YAxis />
</ChartPlot>
PreviousAnimated numbersNextStacked area