Series.Legend Właściwość

Definicja

Pobiera lub ustawia nazwę serii skojarzonej z Legend obiektem.

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

String

Nazwa Legend obiektu.

Atrybuty

Uwagi

Po dodaniu serii w czasie projektowania i w czasie uruchamiania jest ona automatycznie przypisywana do obiektu Legend domyślnego.

Jeśli nie chcesz, aby seria była 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 wartość .

Dotyczy