Query Manager - errors trend
by Danielle Parkinson
HTML
<script src="https://code.highcharts.com/highcharts.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: 'line',
backgroundColor: '#fff',
style: {
fontFamily: 'Open Sans',
color: '#333'
},
height: 300,
width: 750
},
credits: {
enabled: false
},
exporting: {
enabled: false
},
title: {
text: ' '
},
subtitle: {
text: ' '
},
xAxis: {
categories: ['Join', 'Manage', 'Use', 'Renew', 'Leave', 'Complain'],
labels: {
style: {
color: '#333',
fontSize: '14px',
fontFamily: 'Open Sans'
}
},
tickLength: 0
},
yAxis: {
title: {
text: ' '
},
//tickInterval: 2,
gridLineColor: '#aec4db',
labels: {
style: {
color: '#333',
fontSize: '14px',
fontFamily: 'Open Sans'
}
}
},
tooltip: {
pointFormat: '{series.name} produced <b>{point.y:,.0f}</b><br/>warheads in {point.x}'
},
plotOptions: {
area: {
marker: {
enabled: false,
symbol: 'circle',
radius: 2,
states: {
hover: {
enabled: true
}
}
}
}
},
legend: {
itemStyle: {
color: '#333',
fontSize: '14px',
fontFamily: 'Open Sans',
fontWeight: 'normal'
}
},
series: [{
name: 'Score',
color: '#4b5f71',
data: [38, 55, 62, 65, 58, 56],
marker: {
radius: 4,
fillColor: '#fff',
lineColor: '#4b5f71',
lineWidth: 2,
symbol: 'circle'
}
},{
name: 'Average',
color: '#db0011',
dashStyle: 'shortdot',
...