Επεξεργασία

Κοινή χρήση μέσω


ChartArea Constructors

Definition

Initializes a new instance of the ChartArea class.

Overloads

ChartArea()

Initializes a new instance of the ChartArea class.

ChartArea(String)

Initializes a new instance of the ChartArea class with the specified chart area name.

ChartArea()

Initializes a new instance of the ChartArea class.

public:
 ChartArea();
public ChartArea ();
Public Sub New ()

Remarks

Use this constructor to create and initialize a new instance of the ChartArea class.

Note

It is highly recommended that you use one of the Add or Insert methods of the ChartAreas collection property to add a chart area at run time.

Applies to

ChartArea(String)

Initializes a new instance of the ChartArea class with the specified chart area name.

public:
 ChartArea(System::String ^ name);
public ChartArea (string name);
new System.Windows.Forms.DataVisualization.Charting.ChartArea : string -> System.Windows.Forms.DataVisualization.Charting.ChartArea
Public Sub New (name As String)

Parameters

name
String

The name for the new ChartArea object.

Applies to