Highcharts Demo
author(s): Torstein Hønsi
by jeffgw
HTML
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<script src="https://code.highcharts.com/modules/export-data.js"></script>
<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
JavaScript
Highcharts.chart('container', {
chart: {
type: 'line'
},
title: {
text: 'Work order Historical Trends'
},
subtitle: {
text: 'GSC Remedy'
},
xAxis: {
categories: ['Jan-17', 'Feb-17', 'Mar-17', 'Apr-17', 'May-17', 'Jun-17', 'Jul-17', 'Aug-17', 'Sep-17', 'Oct-17', 'Nov-17', 'Dec-17', 'Jan-18', 'Feb-18', 'Mar-18', 'Apr-18', 'May-18', 'Jun-18', 'Jul-18', 'Aug-18', 'Sep-18', 'Oct-18', 'Nov-18', 'Dec-18', 'Jan-19', 'Feb-19', 'Mar-19', 'Apr-19', 'May-19', 'Jun-19', 'Jul-19', 'Aug-19']
},
yAxis: [{
title: {
text: 'Work order volume'
}
},{
title: {
text: 'Days to Resolution'
},
opposite: true
}],
plotOptions: {
series: {
dataLabels: {
enabled: false
},
enableMouseTracking: true
}
},
series: [{
name: 'Work Orders',
data: [306, 291, 267, 248, 354, 272, 200, 299, 360, 232, 240, 279, 272, 221, 295, 207, 284, 367, 324, 365, 251, 370, 579, 629, 677, 667, 743, 848, 677, 567, 985, 729]
}, {
name: 'Days to Resolution',
yAxis: 1,
type:'column',
color:'orange',
opacity: .64,
zIndex:-1,
data: [9, 11, 12, 11, 12, 12, 11, 13, 9, 8, 12, 11, 16, 15, 14, 10, 9, 10, 11, 10, 7, 8, 8, 7, 7, 8, 7, 9, 8, 8, 7, 7]
}]
});