Visual Explorer Guides
Line
![](/resources/images/visual-explorer-guide/line-thumbnail.png)
![](/resources/images/visual-explorer-guide/line-thumbnail.png)
One Measure
This example will walk you through how to create a simple line chart when you have one continuous, aggregated field that’s broken down by some dimension.
- Add a field to Columns. This is generally what you want to see on your x-axis. The example below uses a time series.
![](/resources/images/visual-explorer-guide/line-1.png)
- Add a continuous, aggregated field to Rows. It will be plotted along the y-axis of your visualization.
![](/resources/images/visual-explorer-guide/line-2.png)
- If it isn’t already, make sure to set your Mark Type to
Line
.
![](/resources/images/visual-explorer-guide/line-3.png)
- Add a dimension to the Color channel. Your chart will split into multiple lines, with each series representing a group within your dimension. You should also now have a legend that maps each color to the corresponding series names.
![](/resources/images/visual-explorer-guide/line-4.png)
Multiple Measure
This example will walk you through how to create a simple line chart when you have multiple continuous fields.
- Add a field to Columns. This is generally what you want to see on your x-axis. The example below uses a time series.
![](/resources/images/visual-explorer-guide/line-multiple-1.png)
- Add the system-generated Measure Values to Rows. After you do this, you’ll see that the Measure Values shelf appears.
![](/resources/images/visual-explorer-guide/line-multiple-2.png)
- Add continuous, aggregated fields to the Measure Values shelf to plot them on your visualization. These fields will be plotted along the y-axis of your visualization. You can think of the Measure Values field as a placeholder or variable that references the list of measures you add to the Measure Values shelf.
![](/resources/images/visual-explorer-guide/line-multiple-3.png)
- If it isn’t already, make sure to set your Mark Type to
Line
.
![](/resources/images/visual-explorer-guide/line-multiple-4.png)
- Lastly, add Measure Names to the Color channel. This will ensure that each field in your Measure Values shelf is now its own group within a bar. You should also now have a legend that maps each color to the corresponding field names.
![](/resources/images/visual-explorer-guide/line-multiple-5.png)