# Legend Class

Namespace: [Qlik.Sense.Client.Visualizations.Components](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.Components.htm)  
Assembly: Qlik.Sense.Client.dll

Legend settings.

## Inheritance

* System.Object
  * [AbstractStructure](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AbstractStructure.htm)
    * Legend

## Syntax

```
public class Legend : AbstractStructure, IDisposable, ILegend, IAbstractStructure
```

## Constructors

| Name | Description |
| --- | --- |
| [Legend()](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.Components.Legend.-ctor.htm#Qlik_Sense_Client_Visualizations_Components_Legend__ctor) | Creates an instance of the Legend class |

## Properties

| Name | Description |
| --- | --- |
| [Dock](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.Components.Legend.Dock.htm#Qlik_Sense_Client_Visualizations_Components_Legend_Dock) | Legend position.<br><br>JSON property name: dock |
| [Show](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.Components.Legend.Show.htm#Qlik_Sense_Client_Visualizations_Components_Legend_Show) | Show the legend.<br><br>JSON property name: show |
| [ShowTitle](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.Components.Legend.ShowTitle.htm#Qlik_Sense_Client_Visualizations_Components_Legend_ShowTitle) | Show legend title.<br><br>JSON property name: showTitle |