vizabi-ws-reader v2.5.0
Vizabi WS reader
Example of adding the compiled WS reader to a web page after vizabi script
<script src="libs/vizabi.min.js"></script>
<script src="libs/vizabi-ws-reader.js"></script>Example of integrating WS reader into vizabi
//WS reader integration
var wsReader = WsReader.WsReader.getReader();
Vizabi.Reader.extend("waffle", wsReader);Example of configuring WS reader: pointing it to a certain dataset#branch and WS enpointdataset_access_token is only required for datasets marked as private during import via ws cliassetsPath is only requred if we want to use asset queries in vizabi tooldataset is only required when the dataset we want to request is differnet from the one set in WS as default dataset#branch in dataset can be ommitted, then the missing branch is equal to #master
VIZABI_MODEL.data = {
"reader": 'waffle',
"path": 'https://waffle-server-dev.gapminderdev.org/api/ddf/ql',
"dataset": 'Gapminder/ddf--my--dataset--repo#branch',
"assetsPath": 'https://import-waffle-server-dev.gapminderdev.org/api/ddf/assets/',
"dataset_access_token": "aaaaaaabbbbbbbccccccdddddddeeeeeefffffff11112222333444556677890"
};8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago