Skip to main content Skip to complementary content

Creating line charts

The line chart is used to show trends over time. The dimension is always on the x-axis, and the measures are always on the y-axis.

You can create a line chart on the sheet you are editing.

  1. In a sheet, click to add a new visualization.
  2. Under Visualization, select Line chart or Area line chart.
  3. Click Add and select a field or master dimension for the dimension.
  4. Click Add and select a field or master measure for the measure.

In a line chart you need at least one dimension and one measure.

You can include up to two dimensions and one measure, or one dimension and up to 15 measures in a line chart.

Creating a line chart
Dimensions Measures Result
1 dimension 1 measure A simple line chart with a single line.
2 dimensions 1 measure A line chart with the first dimension on the X-axis, and a line for each value of the second dimension.
1 dimension up to 15 measures A line chart with one line for each measure.

When you have created the line chart, you may want to adjust its appearance and other settings in the properties panel.

For more information, see Changing the appearance of a visualization.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!