Chart.DataField
Data Fields are used to define which object field from a single data source item will be referenced.
Defined By
Config options
Specifies a function which converts the value provided
by the data source into an object that will be userd from the ...
Specifies a function which converts the value provided by the data source into an object that will be userd from the chart.
Usage:
xValuesField: {
name: 'date',
convert: function (vl) {
return new Date(vl);
}
}
Specifies the name by which the field is referenced within the data source.
Specifies the name by which the field is referenced within the data source.
Specifies the data type for automatic conversion from received data
to the required value if 'convert' function has n...
Specifies the data type for automatic conversion from received data to the required value if 'convert' function has not been specified.
Possible values are: 'string', 'numeric' or 'dateTime'. If the type is not specified no conversion is applied.