LegendCollection.Add Method (String)
.NET Framework (current version)
Adds the specified Legend object to the end of the collection.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
Parameters
- name
-
Type:
System.String
The name of the legend to be added.
Return Value
Type: System.Web.UI.DataVisualization.Charting.LegendA string value that represents the index of the added item.
.NET Framework
Available since 4.0
Available since 4.0
Show: