Legend.Enabled Property

.NET Framework (current version)
 

Gets or sets a value that determines if the legend is enabled.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

[BindableAttribute(true)]
[PersistenceModeAttribute(PersistenceMode.Attribute)]
public bool Enabled { get; set; }

Property Value

Type: System.Boolean

true if legend is enabled; otherwise, false. The default value is true.

To hide a legend, set this property to false.

.NET Framework
Available since 4.0
Return to top
Show: