Edit

Share via


Series.ChartArea Property

Definition

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

public:
 property System::String ^ ChartArea { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.DataVisualization.Charting.SeriesAreaNameConverter))]
public string ChartArea { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.DataVisualization.Charting.SeriesAreaNameConverter))>]
member this.ChartArea : string with get, set
Public Property ChartArea As String

Property Value

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

Attributes

Remarks

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.

Applies to