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.
Do the following:
- In a sheet, click
to add a new visualization.
- Under Visualization, select Line chart or Area line chart.
- Click Add and select a field or master dimension for the dimension.
- 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.
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.