By default, all colors in the visualization, including the legend, are determined by the given report theme. The association between an item in the legend and it's corresponding data point in the visual is a called a "series". Each series can be edited, allowing users to customize the color and line type for a given legend item and the analogous data point. For example, in the image below the Slicenger series was changed from yellow to pink.
Series editing offers the flexibility to override theme colors for the given series, without changing the theme itself.
A discrete legend is made up of a list of elements or measures, which are color-coded according to the color assigned to them in the visualization. Whenever a hierarchy or list of elements is added to the color or shape zone, a discrete legend is produced.
Edit Data Series
Open the Formatting panel and select Color from the drop-down menu (red highlight below).
Click select the series to be edited directly from the legend, or select the series from the series drop-down menu in the Formatting panel (green highlight below):
Formatting Selection Tool
Enable the formatting selection tool; click the series you want to edit directly in the visual.
Series Context Menu
Right click on the relevant series in the legend; from its context menu click the Edit option (blue highlight below).
Series Formatting Options
From the Color sub-category of the Formatting panel, you can edit the data series that you've selected from the 2 tabs: Fill and Line.
The options in the fill tab allow you to change the fill type and fill color.
- Solid: choose a single solid color.
- Pattern: select a pattern and color.
- Gradient: select a gradient; choose both the base color, and the end color, to define the range of the gradient.
The Line tab exposes options for customizing the line color, width, and style.
The following options from the Line tab are for Cartesian charts:
- Color: set the color of the line. This option does not appear for line or radar charts.
- Data Point Color: by default, the line color is the same color as the data point.
- Custom: select a different line color from the color picker.
- Thickness: change the thickness of the line.
The following options from the Line tab are for line, area, and radar charts:
- Thickness: set the thickness of the line.
- Line Style: the default line style is solid, but you can change it to a dotted or dashed line.
When customizing lines, you can apply changes to all lines in the visual, or to a given series only. To apply changes to all lines, choose default from the Channel drop-down (green highlight below).
To set changes for a specified series only, choose the series from the Channel drop-down. For instance, to change the line style for the Store series only, select Store.
The line style can also be set from the Line Style drop-down (red arrow below) from the Component ribbon:
In this example, the color was changed for each series. The Customer series' fill was then changed to the horizontal stripes pattern; a border was added to the No Discount series; and the Reseller series' fill was changed to a gradient.
In the image below, the default solid line style is applied to all series members except 2; a dashed line was applied to the Poomah series (pink arrow) and a dotted line to the Acme series (blue arrow).