Creates and initializes a new instance of the DataPoint class, using an X and Y-value.
Data Point object constructor.
Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal xValue As Double, _ ByVal yValue As Double _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- xValue
- Point's X-value.
Point X value. - yValue
- Point's Y-value.
Point Y value.
This constructor can be used to create and initialize a new instance of the DataPoint class.
However, we highly recommend adding data points at run-time using the Points collection property instead.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family