Dundas Chart for Windows Forms
XValue Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > DataPoint Class : XValue Property


The X-value of a data point.


X value of the series data point

Syntax

Visual Basic (Declaration)  
Public Property XValue As Double
Visual Basic (Usage) Copy Code
Dim instance As DataPoint
Dim value As Double
 
instance.XValue = value
 
value = instance.XValue
C#  
public double XValue {get; set;}

Return Value

A double that represents the X-value of a DataPoint.

Remarks

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).

Requirements

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

See Also

© 2009 All Rights Reserved.