Summary of Content

Plot a Line Chart
      Required Fields
      Marks
Format Options
Related Resources

Plot a Line Chart

Line charts can be created via the PAGE ELEMENTS section of your workbook's editor panel or directly from an existing data element
Screen_Shot_2022-02-03_at_3.29.21_PM.png

Required Fields

  • X-AXIS (1 column)
  • Y-AXIS (1+ columns)
    Columns added to the Y-AXIS field are aggregated by default. Aggregation type (e.g. Sum vs Count) is dependent on the original column’s value type (e.g. text, number, date, etc).
    For example, a numeric column such as 'Sales Amount' will create a new calculated column, 'Sum of Sales Amount' (e.g. Sum([Sales Amount])).

Marks

  • COLOR: choose a color for the line or a field to use to split the line into different colored lines (like the Product Family example in the screenshot below).
  • TOOLTIP: choose columns to show when hovering over points in the chart.
  • TRELLIS: select columns to serve as Trellis Rows or Columns, splitting the chart into separate charts.

Format Options

To begin editing an visualization’s format options:

Before you start: This action uses the editor panel. If you have not done so already, open the editor panel from either Explore or Edit mode. Learn more

  1. In the editor panel, click the paintbrush (Screen_Shot_2022-02-03_at_1.34.34_PM.png) button.
  2. Select a format option to view and edit its settings.

The following format categories are available for line charts:

Add Data Labels

When data labels are added to a line chart, they are applied to every line in the visualization. 

Before you start: This action uses the editor panel. If you have not done so already, open the editor panel from either Explore or Edit mode. Learn more

  1. In the editor panel, click the paintbrush (Screen_Shot_2022-02-03_at_1.34.34_PM.png) button.
    This will open the element's format panel.
  2. Click DATA LABELS.
  3. Click Show data labels.
  4. [optional] Select a Label Style from the following list:
    • Min - Displays the line’s minimum value.
    • Max - Displays the line’s maximum value.
    • Min/Max - Displays both the minimum and maximum values.
    • Endpoints - Displays the values at both the beginning and the end of the line.
    • All - Displays all values on the line, when possible. Value labels may be excluded to prevent overlap.
      Please note: If the selected label style is Min, Max, or Min/Max and applies to multiple identical values on a line, both instances will be displayed. For example, if “Min” is selected, and the line has two instances of its minimum value, both will be labeled.
  5. [optional] Select a custom Color.
  6. [optional] Select a custom Font size.

Related Resources

Intro to Building Visualizations