Series::ChartArea Property

.NET Framework (current version)
 

Gets or sets the name of the ChartArea object used to plot the data series, if any.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public:
[BindableAttribute(true)]
property String^ ChartArea {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

A ChartArea object, which is used to plot the series.

When a series is added at both design time and run time, it is automatically assigned to the "Default" ChartArea object, or the first available chart area in the ChartAreaCollection if "Default" does not exist.

Set this property to a zero-length string if you do not want the series to be plotted.

.NET Framework
Available since 4.0
Return to top
Show: