Add regression lines

To add a regression line, you need a search with only one attribute and one measure. Otherwise, this option is greyed out in the settings panel. As soon as you modify the search to contain a single measure and attribute, the regression line option is clickable.

  1. While viewing your Answer as a chart, click the chart configuration icon Chart configuration icon image on the upper right.

  2. Click Settings at the bottom of the Customize menu.

  3. Select Regression line.

You can show regression lines on most types of charts (bar, stacked bar, line, bubble, and so on). In the following examples, sales is the measure and department is the attribute.

Regression line for bar chart Regression line for scatter chart