ChartAreaCollection.Add Method (String)

.NET Framework (current version)

Adds a ChartArea object with the specified name to the collection.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public ChartArea Add(
	string name


Type: System.String

The name of the object to be added to the collection.

Return Value

Type: System.Web.UI.DataVisualization.Charting.ChartArea

A string value that represents a reference to the newly added object.

Objects are always added as the last item in the collection.

The name argument specifies the Name property of the object being added.

.NET Framework
Available since 4.0
Return to top