Highcharts Demo
author(s):
Torstein Hønsi
by Kesav Telaprolu
HTML
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/highcharts-more.js"></script>
<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
JavaScript
var ranges = [
[41,52],
[51,61],
[51,45],
[41,52],
[41,61]
]
Highcharts.chart('container', {
title: {
text: 'July temperatures'
},
xAxis: {
type: 'datetime'
},
yAxis: {
title: {
text: null
}
},
tooltip: {
enabled: false
},
legend: {
},
series: [{
name: 'Range',
data: ranges,
type: 'arearange',
lineWidth: 1,
lineColor: 'red',
dashStyle: 'dash',
marker: {
enabled: false
}
}]
});