Graphs · Bivariate

Line Chart

Line chart or time-series plot: one or more numeric columns against a date, a number or an ordered category, or one column split into lines by a group.

In the menus Graphs › Bivariate › Line Chart

Also searched as line chart line graph line plot time series plot run chart trend chart plot over time time plot

When to use it

You want to see how a measurement changes over time or along an ordered X: a trend, a run chart, a time plot, or several series compared on one chart.

When not to: X has no order (regions, colors, product lines): a line implies that neighboring points are connected, so use a bar chart or a boxplot. Or you need a statement about whether a change is real: use a regression on time, a time-series model or a control chart.

Step by step

  1. Open it from the menu

    Click Graphs in the menu bar; under Bivariate choose Line Chart.

  2. Fill in the form

    Choose the columns: Across (horizontal axis) (optional), Lines to draw, Split into lines by (optional). The form lists only columns whose type fits each field.

  3. Check the options

    The options start at their defaults: Show points, Sort by X, Rows that share an X, Break the line at blanks, Reference line. Change one only when your question needs it.

  4. Run the analysis

    Press Run analysis. The Result Card opens on its Results tab.

What to choose in the form

Fields of the Line Chart form
Across (horizontal axis) (optional) XOne temporal or numeric or ordered categorical or categorical column. Across the bottom: a date, a number or an ordered category (empty = row order)
Lines to draw Y requiredOne numeric column. One or more numeric columns to draw as lines
Split into lines by (optional) GroupOne categorical or ordered categorical column. Optional: split one Y into one line per category (at most 12)
Show pointsMark each value with a dot as well as the line Default: off.
Sort by XOrder the rows by X before joining them (off: table order) Default: on.
Rows that share an XWhen several rows have the same X: their mean with a 95% confidence band, their mean, median, sum, minimum, maximum or count, or every row joined Default: mean and 95% CI.
Break the line at blanksA blank Y leaves a gap in the line instead of joining across it Default: on.
Reference lineA dashed line at each line's mean or median (median = run chart) Default: none.

How to read the card

The Results tab starts with what to know first (rows left out, checks that did not pass), then the interpretation in words and the Key Results; charts and assumption checks follow further down. Learn More explains the method in plain words. Read a Result Card covers all four tabs.

A worked example

airquality, X = Month, Y = Temp (153 days; several days share each month), default summary (mean and 95% CI)

Result: May 65.55 °F [63.03, 68.06] (n = 31), June 79.10 [76.64, 81.56] (30), July 83.90 [82.32, 85.49] (31), August 83.97 [81.55, 86.38] (31), September 76.90 [73.78, 80.02] (30)

The mean daily high rises from May to a plateau in July and August and falls in September; the bands are the uncertainty of each month's mean, not the spread of the days, and consecutive days are not independent, so they are, if anything, too narrow.

From the Statistics Library.

The code tabs

Code gives this analysis as Python, R and MATLAB code (and SAS where the tab offers it), reading the data the way KernelStats did. Export sends the card to a report or to slides. See The Code tab.

Understand the statistics

Ask Oobi

Type one of these into Ask Oobi beside your data:

  • How has weekly revenue changed over the last two years in each region?
  • Explain the line chart (time-series plot) in plain words.

Last reviewed November 16, 2026.

Report an unclear step