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


Gets or sets the Y-value types of a series' data points.


Type of values stored on the Y axes

Syntax

Visual Basic (Declaration)  
Public Property YValueType As ChartValueTypes
Visual Basic (Usage) Copy Code
Dim instance As Series
Dim value As ChartValueTypes
 
instance.YValueType = value
 
value = instance.YValueType
C#  
public ChartValueTypes YValueType {get; set;}

Return Value

A ChartValueTypes enumeration value that determines the type of Y-value data stored by the series. Defaults to Auto.

Remarks

Determines the type of data stored by the series, and is normally set to either Auto or DateTime.

The IntervalType property of axis labels, tick marks, and grids determines the interval type.

This property can also be used to determine the data type that the Y-values are bound to.

It is possible (although rare) to plot date expressions as the values of data points. Setting this property to ChartValueType.DateTime will allow for Y-values to be entered as DateTime values, and not as Double types (dates and times are stored by .NET as Double types internally).

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.