Series.Legend Propiedad

Definición

Obtiene o establece el nombre de la serie asociada al objeto 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

Valor de propiedad

Valor string que representa el nombre de un objeto Legend.

Atributos

Comentarios

Cuando se agrega una serie en tiempo de diseño y tiempo de ejecución, se asigna automáticamente al objeto predeterminado Legend .

Si no desea que la serie que se muestra en una leyenda, establezca esta propiedad en una cadena de longitud cero o establezca la IsVisibleInLegend propiedad falseen .

Se aplica a