Sample High chart
Sample High chart
by Rambabu Pudi
HTML
<script src="https://code.highcharts.com/highcharts.js"></script>
<div id="container" style="height: 400px; min-width: 310px; max-width: 600px; margin: 0 auto"></div>
JavaScript
var chartobj = Highcharts.chart('container', {
chart: {
renderTo: 'container',
plotBorderWidth: 1,
},
legend: {
enabled: false
},
title: {
text: 'Sample Quadrants in HighCharts'
},
"title": {
"text": ""
},
"xAxis": {
"categories": ["REGION0",
"REGION1",
"REGION2",
"REGION3"]
},
"yAxis": [{
"title": {
"text": "UNIT COST"
},
"opposite": false
},
{
"title": {
"text": "UNIT RETAIL"
},
"opposite": false
}],
"numPlotItems": 0,
"totalItems": 0,
"series": [{
"name": "UNIT COST/Live",
"type": "column",
"data": [46.68,
48.16,
47.73,
49.41],
"link":["1","2","3","4"]
},
{
"name": "UNIT RETAIL/Live",
"type": "column",
"data": [88.84,
88.72,
86.5,
87.4],
"link":["1","2","3","4"]
}]
});