Condividi tramite


Series.Legend Proprietà

Definizione

Ottiene o imposta il nome della serie associata all'oggetto Legend .

public:
 property System::String ^ Legend { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Web.UI.DataVisualization.Charting.SeriesLegendNameConverter))]
public string Legend { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Web.UI.DataVisualization.Charting.SeriesLegendNameConverter))>]
member this.Legend : string with get, set
Public Property Legend As String

Valore della proprietà

Valore string che rappresenta il nome di un Legend oggetto .

Attributi

Commenti

Quando una serie viene aggiunta sia in fase di progettazione che in fase di esecuzione, viene assegnata automaticamente all'oggetto predefinito Legend .

Se non si desidera che la serie visualizzata in una legenda, impostare questa proprietà su una stringa di lunghezza zero o impostare la IsVisibleInLegend proprietà su false.

Si applica a