Sometimes, you want to hide some legend swatches and display them selectively. Either in line charts with projections, in visualizations with lots of categories, or in cases you want to emphasize specific parts of your data.
To do this:
- 1
- Create your visualization by starting with one of our Line, bar, pie starting points.
- 2
- Bind your relevant columns and switch back to the Preview tab.
- 3
- Head to Legend settings and under the Swatches options, use the Custom order override to manually specify the order of your legend labels. Please note that if the textbox is left empty, all the legend swatched are displayed by default.
-
TIP: As with all custom override options, it is vital for the swatch names to be exactly the same as your column names. To make sure they match, we recommend copying the column names and pasting them into the textbox.
- 4
- If you don't specify a certain legend swatch, it won't appear in the legend – this is how you can hide certain swatches and restrict interaction with some of your line series.