Highcharts Demo
author(s):
Øystein Moseng
by Rajesh Danabal
HTML
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<script src="https://code.highcharts.com/modules/offline-exporting.js"></script>
<div id="container"></div>
CSS
#container {
max-width: 800px;
height: 400px;
margin: 1em auto;
}
JavaScript
Highcharts.chart('container',
"nameST": "Profit",
"key": "Sum(Orders_Profit)",
"data": [{
"y": 6.63,
"highlightValue": 0,
"xAxis": "Aberdeen",
"xAxisLabel": "City",
"id": {
"Orders_City": "Aberdeen"
},
"selectionId": {
"measures": [],
"dataMap": {
"Orders.City": [{
"identityIndex": 0
}]
},
"key": "{\"Orders.City\":[{\"identityIndex\":0}]}[]"
},
"className": "",
"tooltipPoints": [{
"name": "City",
"value": "Aberdeen",
"isDimensionValue": true,
"autoScalingFactor": "",
"noOfDecimal": 2,
"scalingFactor": "auto",
"prefix": "",
"suffix": ""
}, {
"name": "Profit",
"value": 6.63,
"color": "#118DFF",
"isDimensionValue": false,
"autoScalingFactor": "",
"noOfDecimal": 2,
"scalingFactor": "auto",
"prefix": "",
"suffix": ""
}],
"autoScalingFactor": "",
"grouping": false,
"ruleKey": null,
"originalColor": "#118DFF",
"cfApplied": true,
"isInteger": false,
"noOfDecimal": 2,
"scalingFactor": "auto",
"prefix": "",
"suffix": "",
"dlDisplayFormat": "actual",
"dlStackingTotal": 6.63,
"color": "#118DFF"
}, {
"y": -3.758400000000001,
"highlightValue": 0,
"xAxis": "Abilene",
"xAxisLabel": "City",
"id": {
"Orders_City": "Abilene"
},
"selectionId": {
"measures": [],
"dataMap": {
"Orders.City": [{
"identityIndex": 1
}]
},
"key": "{\"Orders.City\":[{\"identityIndex\":1}]}[]"
},
"className": "",
"tooltipPoints": [{
"name": "City",
"value": "Abilene",
"isDimensionValue": true,
"autoScalingFactor": "",
"noOfDecimal": 2,
"scalingFactor": "auto",
...