Series.Legend Свойство

Определение

Возвращает или задает имя ряда, связанного 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

Значение свойства

string Значение, представляющее имя Legend объекта.

Атрибуты

Комментарии

Если ряд добавляется как во время разработки, так и во время выполнения, он автоматически назначается объекту по умолчанию Legend .

Если вы не хотите, чтобы ряд, показанный в условных обозначениях, задайте для этого свойства строку нулевой длины или задайте IsVisibleInLegend для свойства значение false.

Применяется к