ChartArea Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ChartArea class.
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. |
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
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
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.Web.UI.DataVisualization.Charting.ChartArea : string -> System.Web.UI.DataVisualization.Charting.ChartArea
Public Sub New (name As String)
Parameters
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: