Highcharts Demo
author(s):
Torstein Hønsi
by Joanna Sobańska
HTML
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/highcharts-more.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
JavaScript
Highcharts.chart('container', {
chart: {
type: 'columnrange'
},
title: {
text: 'Spreads between sell and buy prices'
},
xAxis: {
categories: ['Before RPC ', 'After RPC', 'Watt3']
},
yAxis: {
title: {
text: '[ cnts / kWh ]'
}
},
tooltip: {
enabled: false
},
plotOptions: {
series: {
pointPadding: 0,
groupPadding: 0
}
},
legend: {
enabled: false
},
series: [{
name: 'Ranges between sell and buy
data: [
[11, 18],
[4, 9],
[0, 12]
]
}]
});