The way custom popups work in our Line, bar, pie template works slightly differently from custom popups in most of our other templates. Read on to find out more or watch the video below.
To add custom content to your popups in the Line, bar, pie template,
- 1
-
In the Data tab, add a new column and add your custom popup content to it
- 2
-
Bind your new column to Info for popups in the Select columns to visualise area. The content from your new column will now appear along with the name, the series and the value by default.
- 3
-
You can further customize the content and appearance of your popups by going into the Popups settings and enabling custom content. You can use curly brackets ({{column_name}}) to access information in a column, and custom HTML to add images, videos, links and styling. Follow our handy guide on this here.
- 4
-
In this template, you can also add the numerical value of the current data point (regardless of its column) by using {{VALUE}}, or the column name of a data point by using {{SERIES}} to your custom content. Here's an example:
To achieve this, the Popups were set to contain custom content and the following was added to "Popup content":
- 6
-
You can also display a certain bit of information for each column that can be different for each series. Keep in mind that this is only possible if you aren't already displaying custom content using the above option. Here's an example where additional information was only added to Column 1 (the first line):
To achieve this, the Popups were set to auto and the following was added to Series info: