Adding Reference Lines to Visuals
Reference lines are visual markings in a visual, similar to ruler lines. Usually,
you add a reference line for a value that needs to be displayed with the data. For
example, you can add reference lines to display thresholds or limits in values.
- Click , the Dashboards tab.
- Click Dashboard Designer, in the bottom-left corner.
- On the Analyses dialog, click , the Options button, next to an analysis and select Edit.
- On the analysis page, select a visual.
- Click , the Format visual icon, in the top-right corner of the visual.
- In the Properties panel on the right, expand the Reference lines section.
- Click Add new line to open the New reference line panel.
- Under Data, set the reference line type.
- To create a constant line based on a single value that you enter, select Constant line under Type and enter the value that you want to use under Value.
The specified value determines the location of the line on the visual.
- To create a calculated line based on a field, select Calculated line under Type.
Select the column that you want to use for the reference line, the aggregation that you want to apply to the selected column, and the calculation that you want to apply to the aggregation. If you select Percentile, also enter a percentile value from 1 through 100.
- To create a constant line based on a single value that you enter, select Constant line under Type and enter the value that you want to use under Value.
- Under Line style, specify whether the reference line is solid, dashed, or dotted and set the line color.
- Under Label, configure the reference line label.
- Under Type, specify whether to display a label and whether the label includes only the value, a custom text, or both.
- Under Position, set the position of the label.
- Under Value format, specify whether to format the label as a number, as currency, or as a percent.
By default, the label uses the format of the field that is represented on the axis.
- Set the font size and color of the label.
- Click Done.