# Charts - legend settings

Analytics+ provides customization options for legend elements such as marker style, alignment, font, etc. The legend tab is enabled only for charts that use a legend.

### 1. Show legend

Enable this toggle to display the legend.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2F4oOxLCZhu74LI2l10iwK%2Fimage.png?alt=media&#x26;token=9c075a36-bcc4-49db-969f-664d0bd2119a" alt=""><figcaption><p>Show legend option</p></figcaption></figure>

### 2. Show legend as title

The colors used to plot each measure will be reflected in the title.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FTNlDi0fcK4Nz7Kp9m7Rn%2Fimage.png?alt=media&#x26;token=49e438bf-b8a9-401c-84cb-dfb45bac8358" alt=""><figcaption><p>Show legend as title</p></figcaption></figure>

### 3. Show CF legend

Users can now quickly understand what the conditional formatting in your chart signifies. Analytics+ provides an option to display the conditional formatting rule and color in the legend, enhancing the report's clarity and making it easier to interpret.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FWfLC62iK5GKqh4qvc4hP%2Fimage.png?alt=media&#x26;token=c05754ca-1e63-4a2c-a3f1-2a34e637d8ab" alt=""><figcaption><p>Show CF legend</p></figcaption></figure>

### 4. Show total

Display the overall contribution of each category in the legend.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FeGLyW8AMJnFvC2pSE1p4%2Fimage.png?alt=media&#x26;token=9659ba27-4ad9-4dbf-b1d9-313c334af38a" alt=""><figcaption><p>Show total</p></figcaption></figure>

### 5. Data selection

Analytics+ allows you to select data based on the legend in reading view. You can choose to highlight a particular legend category or include or exclude the category. [Learn more about data selection](#id-4.-data-selection).

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FA9twVEMICr7ivNdH8ah4%2Fimage.png?alt=media&#x26;token=e3f20d4e-92d0-4b79-966f-4c8fdd08e942" alt=""><figcaption><p>Legend based data selection options</p></figcaption></figure>

### 6. Alignment

You can set the horizontal (left, right, center) and vertical (top, middle, bottom) alignment for the legend.&#x20;

<div><figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2F9ipGgP81KwjB5lk8oPsL%2Fimage.png?alt=media&#x26;token=cc10058e-ebce-4e6c-b1f9-8d3d2f970fb3" alt=""><figcaption><p>Top - left</p></figcaption></figure> <figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FqrGf6fOuR8mau92ZO0W3%2F2024-11-25_11h44_56.png?alt=media&#x26;token=d1b191eb-0e2b-4a87-bd44-210ecf45e274" alt=""><figcaption><p>Bottom - center</p></figcaption></figure> <figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FayVkx3pD4t1oG3MCcjr6%2F2024-11-25_11h45_15.png?alt=media&#x26;token=19635026-3c9f-44a4-8277-2565ff90eb2f" alt=""><figcaption><p>Center - left</p></figcaption></figure></div>

### 7. Font

You can customize the font color and size.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2Fbk84zROk1LN4aFTzI2WY%2Fimage.png?alt=media&#x26;token=00d05156-f4e1-4537-a091-abd0e83fb727" alt=""><figcaption><p>Setting the font</p></figcaption></figure>

### 8. Icon

You can choose to disable the legend marker. When the icon option is disabled, the legend labels reflect the legend colors.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FzlxFglHpfjgxk84DzUna%2Fimage.png?alt=media&#x26;token=c83accb2-0fd6-46ed-a5e6-7ceb5be714c5" alt=""><figcaption><p>Icon hidden</p></figcaption></figure>

### 9. Show background

Enabling the Show background toggle allows you to use the category color as the background for the legend label.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FPGDdPhnLlDSwkY9RqWuv%2Fimage.png?alt=media&#x26;token=e4804272-2da8-4d90-8006-2257200d3ee4" alt=""><figcaption><p>Show background option</p></figcaption></figure>

### 10. Show title

You can display a title for the legend. You can use the legend dimension name as the title or set a custom title.

In the example, we used a custom title - Products.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2F62KAiQXEYwGpUcK3EaDI%2Fimage.png?alt=media&#x26;token=b1de66b4-ec1f-4d28-aa98-5ee2b1495e38" alt=""><figcaption><p>Setting a legend title</p></figcaption></figure>

### 11. Enable RTL

Analytics+ provides right-to-left support. The legend categories are displayed from the right side to the left side when this option is enabled.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FB4wwX9X8xfFSpx4d9F5w%2Fimage.png?alt=media&#x26;token=c3c99e1f-0f4a-477e-9e1e-e0aacc7685de" alt=""><figcaption><p>RTL enabled</p></figcaption></figure>

### 12. Style

The legend can display markers in the chart, making it easier to co-relate the data. You can select the marker style from the dropdown menu. [Learn more about using markers.](https://docs.inforiver.com/analytics+/working-with-analytics+/3.-charts/charts-canvas-settings#id-4.-marker-display)&#x20;

When you select the Marker or Line and markers option, the legend will reflect the data point markers set in canvas settings.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2F5AF6MUshSIu7o2mQFK62%2Fimage.png?alt=media&#x26;token=686d87cb-abd1-41ca-9776-69b5de92fe19" alt=""><figcaption><p>Marker style</p></figcaption></figure>

### 13. Conditional formatting

Enable this toggle to display the legend when color scales are enabled.&#x20;

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FS7pIMCi9NkrQ8UDlH8wq%2Fimage.png?alt=media&#x26;token=4d5c592c-ff3e-43a7-8b87-def6b24cb699" alt=""><figcaption><p>Legend for color scales</p></figcaption></figure>

#### 13.1. Show title

Enable the toggle to display the legend title.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FCT3M13TRQjZlpLzWoC2l%2Fimage.png?alt=media&#x26;token=14bf73a9-1e2e-4de9-bcc5-73bb5e2af3a0" alt=""><figcaption><p>Legend title</p></figcaption></figure>

#### 13.2. Show label

Enable the toggle to display the value labels for the color scale. Labels will help users quickly identify what each color represents.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2Fqmr7Ua6tvlvtWsmedTjv%2Fimage.png?alt=media&#x26;token=5a7d3e39-fb4f-47d1-8a83-6b530c668679" alt=""><figcaption><p>Color scale value labels</p></figcaption></figure>

#### 13.3. Hide measure legend

When you display the conditional formatting legend, you can choose to hide the measure legend.

<div><figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FmcYgRtTkv0V0WtqiZQcR%2Fimage.png?alt=media&#x26;token=8612fad5-2a82-461c-992d-3c701b7d62d1" alt=""><figcaption><p>Measure legend displayed</p></figcaption></figure> <figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FhLB4HgULTW5T3AxLyeAR%2F2025-05-06_17h46_23.png?alt=media&#x26;token=5c03ebcd-1b98-450b-bc30-5656fdbb240e" alt=""><figcaption><p>Measure legend hidden</p></figcaption></figure></div>

## Legend settings for analytical lines

Enabling the legend for trend lines or additional series, like Pareto lines, enhances storytelling capabilities in your charts. To display the lines in the legend, enable the **Show in legend** toggle.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FRV8O0sZ6L3uTRh4F0w1C%2Fimage.png?alt=media&#x26;token=a65a764e-7704-4fca-8a08-f83c48830683" alt=""><figcaption><p>Legend for Analytical lines</p></figcaption></figure>
