# Legend

To have a legend in your Sunburst Diagram, tick the ‘Show legend’ button. When having a large selection of dimensions, it may be of benefit to use a color legend to display.

<figure><img src="https://1632500807-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0ARtwElTSzdwWxw4t1pi%2Fuploads%2F1RGYBx2BBpahXjUgm0R1%2Fsunburst-legend.png?alt=media&#x26;token=526120fe-ba27-4e40-a049-45a18b9cf348" alt="" width="375"><figcaption></figcaption></figure>

### Configure legend&#x20;

<figure><img src="https://1632500807-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0ARtwElTSzdwWxw4t1pi%2Fuploads%2Fy5jqRcQtPyvL4lIdPCJW%2Fsunburst-legend-config.png?alt=media&#x26;token=40a3a561-e0f2-4210-ba08-93e5be9ea096" alt="" width="375"><figcaption></figcaption></figure>

#### Legend position

Choose where your legend will be from the 6 options! Your Sunburst Diagram will autosize to fit the legend in the view.

#### Number of columns

Add more columns in the text box to get the best look for your Sunburst Diagram. You may prefer to have them in a row or on top of each other.

#### Horizontal shift

Use the slider to adjust the position horizontally of your Legend. Use this to get your legend in the perfect position.

#### Vertical shift

Use the slider to adjust the position vertically. This could allow you to have more text shown in your view.&#x20;
