This article is outdated, you can access the most current version here: https://doc.onedata.de/apps/apps-docs/odml-documentation/AppBuilder/elements/HighchartsElement.html#type-highcharts
This is a sample configuration for a Basic Bar Chart in Apps. The datasource used in this example can be found here.
{
"id": "basicBarChart",
"type": "highcharts",
"source": "raw_testSource",
"config": {
"title": {
"text": "Basic Bar Chart"
},
"subtitle": {
"text": "Chart1"
},
"exporting": {},
"chart": {
"type": "bar",
"inverted": true,
"polar": false
},
"series": [
{
"name": "Berlin",
"turboThreshold": 0,
"marker": {}
},
{
"name": "Tokyo",
"turboThreshold": 0
},
{
"name": "New York",
"turboThreshold": 0
},
{
"name": "London",
"turboThreshold": 0
}
],
"plotOptions": {
"series": {
// "stacking": "normal", // to enable stacking
"animation": false,
"dataLabels": {}
}
},
"yAxis": {
"title": {
"text": ""
},
"labels": {}
},
"xAxis": {
"title": {},
"labels": {}
}
}
}