ElementStacks
HTML
<script src="http://highcharts.com/js/testing.js"></script>
<div id="container" style="height: 400px"></div>
JavaScript
var chart = new Highcharts.Chart({
chart: {
renderTo: 'container',
type: 'spline'
},
xAxis: {
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May']
},
yAxis: {
title: {
text: 'Rank'
},
allowDecimals: false,
reversed: true,
min: 0.5,
startOnTick: false,
endOnTick: false,
max: 3.5
},
plotOptions: {
series: {
lineWidth: 2
}
},
series: [{
data: [1, 1, 2, 1, 1],
name: 'Ada'
}, {
data: [2, 3, 1, 2, 3],
name: 'Bob'
}, {
data: [3, 2, 3, 3, 2],
name: 'Caesar'
}]
});