Export (0) Print
Expand All

Series.YValueType Property

Gets or sets the type of Y-value data in the data points stored by a series.

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public ChartValueType YValueType { get; set; }

Property Value

Type: System.Web.UI.DataVisualization.Charting.ChartValueType
A ChartValueType enumeration value that determines the type of Y-value data stored by the series. The default value is Auto.

The YValueType property determines the type of data stored by the series. The value of this property is normally set to either Auto or DateTime.

The IntervalType property found in axis label, tick mark, and grid classes determines the interval type.

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

It is possible to plot date expressions as the values of data points, though this is rarely done. If you set this property to DateTime, the Y-value can then entered as a DateTime value, and not as a Double. Date and time values are internally stored by .NET Framework as Double values.

.NET Framework

Supported in: 4.6, 4.5, 4
© 2015 Microsoft