Skip to content

Automatic translation — the Portuguese version is the reference. View in Portuguese

Updated on 2026-09-08

Bar + line combo

Combines bars and a line in the same chart, usually with a secondary axis.

On this page (7)

Render: Recharts · Category: Comparison and trend

Combines bars and a line in the same chart, usually with a secondary axis.

What it is#

Combines bars and a line in the same chart, usually with a secondary axis.

What it's for / when to use it#

Relate a volume metric (bars) to a rate metric (line) — revenue × margin %.

When NOT to use it: Two metrics on the same scale — grouped bars are enough.

Typical configuration fields#

  • Minimum fields (wells): 1 dimension + 2 metrics (bar + line)
  • Category axis (Axis well)
  • Series legend
  • Gridlines
  • Smooth curve × straight segments
  • Stacked series
  • Animated transition
  • Color by series
  • Chart scale/margin
  • Sorting and Top N
  • Reference lines (average, target) and trend
  • Secondary Y axis
  • Small multiples (repeat by column)
  • Toggle between chart and table
  • Number format and decimal places

Usage example#

Revenue (bars) and Margin % (line, secondary axis) by month (Aurora Varejo).

Required data#

One dimension + two measures (one becomes the bar, the other the line).

Limits and notes#

  • The visual's data transformation and geometry are covered by automated tests on every release.
  • Only controls that actually affect this visual are listed here (we avoid 'dead buttons').

Related#

Last reviewed: 2026-09-08.

Related links