ChartXValue class

ChartXValue class

Represents an X value for a chart series.

Remarks

This class contains a number of static methods for creating an X value of a particular type. The ChartXValue.value_type property allows you to determine the type of an existing X value.

All non-null X values of a chart series must be of the same ChartXValueType type.

Properties

NameDescription
date_time_valueGets the stored datetime value.
double_valueGets the stored numeric value.
multilevel_valueGets the stored multilevel value.
string_valueGets the stored string value.
time_valueGets the stored time value.
value_typeGets the type of the X value stored in the object.

Methods

NameDescription
from_date_time(value)Creates a ChartXValue instance of the ChartXValueType.DATE_TIME type.
from_double(value)Creates a ChartXValue instance of the ChartXValueType.DOUBLE type.
from_multilevel_value(value)Creates a ChartXValue instance of the ChartXValueType.MULTILEVEL type.
from_string(value)Creates a ChartXValue instance of the ChartXValueType.STRING type.
from_time_span(value)Creates a ChartXValue instance of the ChartXValueType.TIME type.

See Also