Highcharts test tool
HTML
<script src="https://code.highcharts.com/3.0.7/highcharts-all.js"></script>
<div id="liveDriversGraph" style="height: 400px; width: 600px; margin: 0 auto"></div>
JavaScript
$(function() {
new Highcharts.Chart({
chart: {
type: "column",
plotBackgroundColor: null,
renderTo: "liveDriversGraph",
plotBorderWidth: null,
plotShadow: false
},
credits: {
enabled: false
},
exporting: {
enabled: false
},
title: {
text: ""
},
tooltip: {
pointFormat: "{series.name}: <b>{point.y}</b>"
},
plotOptions: {
column: {
allowPointSelect: false,
dataLabels: {
enabled: true,
format: " "
}
}
},
xAxis: {
gridLineWidth: 0,
minorGridLineWidth: 0,
labels: {
enabled: false
},
title: {
enabled: false
},
categories: [
'1 hour ago',
'55 minutes ago',
'50',
'45',
'40',
'35',
'30',
'25',
'20',
'15',
'10',
'5'
],
},
yAxis: {
min: 0,
gridLineWidth: 0,
labels: {
enabled: false
},
title: {
enabled: false
}
},
series: [{
showInLegend: false,
name: 'Live drivers',
color: '#c4e9ff',
data: [49, 71, 106, 129, 144, 176, 135, 148, 216, 194, 95, 54]
}]
});
});