After you create a report, datatips (sometime called tooltips) appear when you hover over a data point in the results. In this example, you can see a datatip showing the number of tickets for the Voice ticket channel.
By default, datatips contain the value of the data point you hover over. In this article, you'll learn how to customize datatips and comparison lines which highlight your results by comparing metrics or by displaying the difference between a data point and the highest value in the chart.
Customizing datatips
While datatips are generated automatically with your report, there are a number of settings you can configure to change their look and feel.
To customize your datatips
- With a report open, click chart configuration ().
- From the Chart configuration menu, choose Datatips.
- On the Datatips panel, configure the following values as required:
- Show datatip: Turns the display of the datatips on or off.
-
Mode: Choose between Datatips or Comparison line. Comparison
lines highlight your results as shown below.
For area, dot, and line charts:
For tables, column, and bar charts:
- Line color: If you selected Comparison line, this changes the color of the dotted comparison line.
- Background color: Changes the background color of the datatip box.
For details of how to change the text displayed by a datatip, see the next section.
Changing the text in your datatips
As well as changing the color and style of your datatips, you can also change the text that is displayed in it.
To change the text in your datatip
- With a report open, click chart configuration ().
- From the Chart configuration menu, choose Datatips.
- On the Datatips panel, in the text box, type the text you want to display. You can highlight text and choose from formatting controls for text size, bold, italics, underline, justification, and color.
- Typically, you'll want to include data from your report results in the datatip. To do this, position the cursor where you want the report result. Then, click Select an element to add.
- Choose from the list of metrics and attributes you used in your report. The value is
inserted into your datatip text.
Note: If you want to add a metric to your datatip, but didn't use it in your report, you can add the metric as a datatip (see Adding metrics as datatips).
- When you are finished, click the chart configuration () to close the Datatips panel.
Example
You want to change the original datatip used in this article to read "You got 322,559 tickets in your Voice channel."
To do this, enter this text into the datatip text box:
This will give the following results when you hover over a data point: