Series.Legend Właściwość

Definicja

Pobiera lub ustawia nazwę serii skojarzonej z obiektem Legend .

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

Wartość właściwości

Nazwa Legend obiektu.

Atrybuty

Uwagi

Gdy seria jest dodawana zarówno w czasie projektowania, jak i w czasie wykonywania, jest automatycznie przypisywana do obiektu domyślnego Legend .

Jeśli nie chcesz, aby seria wyświetlana w legendzie, ustaw tę właściwość na ciąg o zerowej długości lub ustaw IsVisibleInLegend właściwość na false.

Dotyczy