ChartYValue class

ChartYValue class

Represents an Y value for a chart series.

Remarks

This class contains a number of static methods for creating an Y value of a particular type. The ChartYValue.valueType property allows you to determine the type of an existing Y value.

All non-null Y values of a chart series must be of the same ChartYValueType type.

Properties

NameDescription
dateTimeValueGets the stored datetime value.
doubleValueGets the stored numeric value.
timeValueGets the stored time value.
valueTypeGets the type of the Y value stored in the object.

Methods

NameDescription
fromDateTime(value)Creates a ChartYValue instance of the ChartYValueType.DateTime type.
fromDouble(value)Creates a ChartYValue instance of the ChartYValueType.Double type.
fromTimeSpan(value)Creates a ChartYValue instance of the ChartYValueType.Time type.

See Also