Skip to content

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

Updated on 2026-09-08

Slope (before × after)

Slope — straight lines joining the values of two periods, one per category.

On this page (7)

Render: custom SVG · Category: Relationship and pairwise comparison

Slope — straight lines joining the values of two periods, one per category.

What it is#

Slope — straight lines joining the values of two periods, one per category.

What it's for / when to use it#

Show who went up and who went down between two points in time.

When NOT to use it: More than two periods — use Line.

Typical configuration fields#

  • Minimum fields (wells): 2 periods + 1 metric per category
  • Category axis (Axis well)
  • Series legend
  • Value labels on the chart
  • Gridlines
  • Animated transition
  • Chart scale/margin
  • Sorting and Top N
  • Small multiples (repeat by column)
  • Toggle between chart and table
  • Number format and decimal places

Usage example#

Revenue by category in June × July for Aurora Varejo.

Required data#

One category + the measure in two periods.

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