The X-value of a data point.
X value of the series data point
Visual Basic (Declaration) | |
---|---|
Public Property XValue As Double |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public double XValue {get; set;} |
Return Value
A double that represents the X-value of a DataPoint.
All chart types can be displayed as either scatter plots or non-scatter plots, since both X and Y-values can be set. Setting an X-value will result in a scatter plot, while not setting this property (equivalent to setting it to zero) will result in a non-scatter plot. For example, to draw a point chart type add data points that have an X-value of zero. To display a traditional scatter chart add data points that have X-values other than zero.
X-values of data points do not have to be set, and if this is the case data points are plotted sequentially, using their index values (from the data point collection).
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