Partager via


Chart.HasLegend Property

Definition

Gets or sets a value that indicates whether the Chart control has a legend.

public:
 property bool HasLegend { bool get(); void set(bool value); };
public bool HasLegend { get; set; }
member this.HasLegend : bool with get, set
Public Property HasLegend As Boolean

Property Value

true if the Chart control has a legend; otherwise, false.

Applies to