Skip to content

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

Updated on 2026-09-08

Line

A line that connects points over time (or along a sequence).

On this page (7)

Render: Recharts · Category: Comparison and trend

A line that connects points over time (or along a sequence).

What it is#

A line that connects points over time (or along a sequence).

What it's for / when to use it#

See change and trend (revenue month over month, orders per day).

When NOT to use it: Comparing categories with no natural order — use Bars.

Typical configuration fields#

  • Minimum fields (wells): 1 time dimension + 1 metric (up to 5)
  • Category axis (Axis well)
  • Series legend
  • Gridlines
  • Smooth curve × straight segments
  • 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#

Monthly revenue Jan–Dec for Aurora Varejo, with a trend line.

Required data#

A sortable dimension (time) on the axis + one or more metrics.

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