Working with data in JavaScript 3D Chart control
18 Nov 20181 minute to read
Local data
A simple JSON data can be bound to the 3D chart using dataSource property in series. Now map the fields in JSON to xName and yName properties.
Remote data
The remote data can be bound to the 3D chart using the DataManager. The DataManager requires minimal information like web service URL, adaptor and cross domain to interact with service endpoint properly. Assign the instance of the DataManager to the dataSource property in series and map the fields of data to xName and yName properties. You can also use the query property of the series to filter the data.
Binding data using ODataAdaptor
OData is a standardized protocol for creating and consuming data. You can retrieve data from OData service using the DataManager. Refer to the following code example for remote data binding using OData service.
Empty points
The data points that uses the null or undefined as value are considered as empty points. The empty data points are ignored and is not plotted in the chart. When the data is provided by using the points property, by using emptyPointSettings property in series, the empty can be customized. The default mode of the empty point is Gap.
Customizing empty point
The specific color for empty point can be set by the fill property in emptyPointSettings.