How to add axis highlights to your Line, bar pie visualization or Bar chart race
Quite a few Flourish templates allow you to add axis highlights, or annotations, to your charts to call attention to different parts of the visualization.
This help doc covers adding annotations (axis highlights), to your Line bar pie visualization and your Bar chart races. For information on axis highlights in the Bar chart race template, scroll down to the bottom of this page.
To create annotations/axis highlights in the Line, bar and pie chart template:
Go to the Annotations settings and select to add x axis highlights, y axis highlights, or both. X axis annotations will give you vertical highlights, while y axis annotations will give you horizontal highlights.
- Line highlights
- Adding a line highlight will give you a vertical or horizontal line in your visualization. Use a line highlight to focus on a single point in time.
- To add a line highlight, supply the text you would like to display in your annotation, followed by two colons (::) and the point in time or value you would like to display it at. This point in time or value will have to match the column or row name in your dataset.
- Range highlights
Adding a range highlight will highlight a range in your visualization. Use range highlights when you want to highlight an extended period of time.
- To add a range highlight, supply the text you would like to display in your annotation, followed by two colons (::), the point in time or value you would like to start displaying it, two "greater than" signs (>>) and the point in time you would like to stop displaying it. These points in time or value will have to match the column or row name in your dataset.
- Tweaking the annotations/highlights
- There are several tweaks you can make to display your highlights differently.
- If you just want a line and no text, for example, you can just put a space followed by two semi colons and the point in time or value. Similarly, if you just want the text and not the line, you can change it to zero.
- If you'd like a solid line, you can select a dash value of zero, and if you'd like it to display more like dots, you can select a value like 7.
- You can select to change the colour of your line, range and text, and when adding range highlights, you can change the opacity. If you'd like it to be opaque, you can supply a value of 1.
- Bar chart race annotations
You might want to add axis highlights to your Bar chart race to create something like a "finish line" for your data to pass, or to show an average.
- Here's what the settings look like in this example:
- Another option for annotation a Bar chart race are captions (see below). You can learn more about captions in this help doc.