Skip to main content
Line charts connect data points with a continuous line. Use them when the direction and rate of change matter — trends over time, trajectories of multiple series, or any ordered dimension where continuity is meaningful.

Variants

Single series

One measure plotted against a time or ordered dimension. The simplest and most common use case.

Multi-series

Multiple lines plotted on the same axes. Map a second dimension to the Color channel to split one measure into one line per dimension value, or add multiple measures to the Y axis to plot them as separate series.

With reference line

A reference line marks a target, threshold, benchmark, or date. Added from the ⋮ menu of an axis section in the Style tab.

Reference lines

Add a horizontal reference line from the ⋮ menu of the Y axis section of the Style tab. A new line starts at the axis’s current maximum. Set the value, label, color, line style (solid, dashed, or dotted), and width. A labelled line also takes a label position. Multiple reference lines are supported. On a time X axis, add a vertical line the same way from the X axis section, for example to mark a launch date. See Axes for the full configuration reference.

Axis behavior

Line charts use a temporal X axis for time dimensions — continuous, time-aware, and not constrained to the result set. For non-time dimensions, the axis is ordinal and follows the result set sort order. Gaps in the line indicate missing data points.

Combining with bars

To layer a line on top of a bar chart, add a second series to the Y axis, set its mark type to Line in series configuration, and assign it to the right Y axis for a dual-axis layout.