Gio.js
Getting Start
Gio.js 2.0
Basic Elements
Configuration
Object Design API
Color and Style API
Working with Data
Callback
Dependence Interface
Advanced Feature
Working With Data
There are multiple ways to load data into the controller of Gio.js. The basic way is to use addData API. To load data asynchronously, use addDataAsync API. To refresh the data periodically, you can use liveLoad API. To clear data in globe, use clearData API. To make a better visualization of data flow, the range of the data is adjusted before used for rendering. To do a fine-grained control over the color of each line that connects two countries, check set line color from data. You can also add a data group to controller, and use switchDataSet API to switch between different data sets in this data group. Data can also been exported to Continent.