Bewerken

Delen via


LegendItem.SeriesName Property

Definition

Gets or sets the name of the Series associated with a default legend item.

public:
 property System::String ^ SeriesName { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Browsable(false)]
public string SeriesName { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.SeriesName : string with get, set
Public Property SeriesName As String

Property Value

A string value that determines the name of the series associated with a default legend item. The default value is a zero-length string.

Attributes

Remarks

This property should only be used in the CustomizeLegend event, to determine which data series a default legend entry represents.

The SeriesName property applies to all charts except pie and sphere charts; their default legend items correspond to plotted data points, and not to plotted series. When you deal with pie and sphere charts, use the SeriesPointIndex property instead.

This property should not be set by the developer.

Note

This property is applicable to the entire LegendItem.

Applies to