Gets or sets the value types plotted along the X-axis.
Type of values stored on the X axes
Visual Basic (Declaration) | |
---|---|
Public Property XValueType As ChartValueTypes |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public ChartValueTypes XValueType {get; set;} |
Return Value
A ChartValueTypes enumeration value that determines the type of X-value data stored by the series. Defaults to "Auto".
Determines the type of data stored by the series.
Setting this to ChartValueType.DateTime will allow for X-values to be entered as DateTime values, and not as Double types (dates and times are stored by .NET as Double types internally). The same holds true for the To and From properties of CustomLabel objects.
The IntervalType property of axis labels, tick marks, and grids determines the interval type.
NOTE: for a DateTime format to be applied (using the Format property) correctly to axis labels that are generated from data point X-values this property must be set to DateTime.
This property can also be used to determine the data type that the X-values are bound to (when data-binding is used).
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