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.value_type 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
date_time_valueGets the stored datetime value.
double_valueGets the stored numeric value.
time_valueGets the stored time value.
value_typeGets the type of the Y value stored in the object.

Methods

NameDescription
from_date_time(value)Creates a ChartYValue instance of the ChartYValueType.DATE_TIME type.
from_double(value)Creates a ChartYValue instance of the ChartYValueType.DOUBLE type.
from_time_span(value)Creates a ChartYValue instance of the ChartYValueType.TIME type.

See Also