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


Gets or sets the value types plotted along the X-axis.


Type of values stored on the X axes

Syntax

Visual Basic (Declaration)  
Public Property XValueType As ChartValueTypes
Visual Basic (Usage) Copy Code
Dim instance As Series
Dim value As ChartValueTypes
 
instance.XValueType = value
 
value = instance.XValueType
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".

Remarks

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

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.