Name

Series.Name property

Gets or sets the name of the data series.

public string Name { get; set; }

Examples

[C#]

//Reference name to a cell
chart.NSeries[0].Name = "=A1";

//Set a string to name
chart.NSeries[0].Name = "First Series";
[Visual Basic]

'Reference name to a cell
chart.NSeries[0].Name = "=A1"

'Set a string to name
chart.NSeries[0].Name = "First Series"

See Also