Various components developed by us -
The component is useful to display the data as chart forms. It provides many different forms of chart to view such as line, bar, pie, donut and many more.
The live demo is based on the following code using the The Cubbles Tag API.
<chart-view cubx-webpackage-id="odin-library@0.1.0-SNAPSHOT">
<cubx-core-init style="display: none;">
<cubx-core-slot-init slot="data">
[...]
</cubx-core-slot-init>
<cubx-core-slot-init slot="config">
{
"elementsAreObjects": true,
"dataContainsTuples": true,
"dataSeries": [{
"key": "a",
"name": "Foo"
}, {
"key": "c",
"name": "Bar"
}
],
"c3": {
"data": {
"type": "pie",
"x": "b",
"empty": {
"label": {
"text": "No data!"
}
}
},
"axis": {
"x": {
"type": "category"
}
}
}
}
</cubx-core-slot-init>
</cubx-core-init>
</chart-view>
The embedded code, starts with component's webpackage id.
The slots which are in use are defined. In the above example two slots are defined: data and config.
Data: is the input data to be displayed in map form.
Config: restricts the incoming data with the configuration provided and formats the map view.
The component displays the geographical maps and their associated data. The view provides the availability of multiple map layers in forms such as Tilelayer, Marker, GeoJson, Chloropleth.
The live demo is based on the following code using the The Cubbles Tag API.
<maplayer-view cubx-webpackage-id="odin-library@0.1.0-SNAPSHOT">
<cubx-core-init style="display:none">
<cubx-core-slot-init slot="data">
[...]
</cubx-core-slot-init>
<cubx-core-slot-init slot="config">
{
"size": {
"width": "100%",
"height": "600px"
},
"center": {
"lat": 55,
"lng": 10
},
"zoom": 5,
"tileLayers": [{
"provider": "CartoDB.DarkMatterNoLabels"
}, {
"url": "http://korona.geog.uni-heidelberg.de/tiles/adminb/x={x}&y={y}&z={z}",
"maxZoom": 19,
"attribution": "Imagery from GIScience Research Group @ University of Heidelberg"
}
],
"markerLayers": [{
"dataPath": "",
"lat": "/lat",
"lng": "/long",
"title": "/name",
"alt": "/name",
"draggable": false
}, {
"lat": 50.68127839,
"lng": 10.9305529,
"title": "incowia GmbH",
"alt": "incowia GmbH"
}
]
}
</cubx-core-slot-init>
</cubx-core-init>
</maplayer-view>
The embedded code, starts with component's webpackage id.
The slots which are in use are defined. In the above example two slots are defined: data and config.
Data: is the input data to be displayed in map form.
Config: restricts the incoming data with the configuration provided and formats the map view.