JavaScript
Highcharts.chart('container', {
chart: {
type: 'line',
backgroundColor: '#201f2d',
style: {
fontFamily: 'Arial',
color: '#525759'
},
height: 320,
width: 600
},
credits: {
enabled: false
},
exporting: {
enabled: false
},
title: {
text: ' '
},
subtitle: {
text: ' '
},
xAxis: {
categories: ['9am', '10am', '11am', '12am', '1pm', '2pm', '3pm', '4pm', '5pm'],
labels: {
style: {
color: '#e6e6e6',
fontSize: '12px'
}
},
tickLength: 0
},
yAxis: {
title: {
text: ' '
},
tickInterval: 5,
gridLineColor: '#999',
labels: {
style: {
color: '#e6e6e6',
fontSize: '12px'
}
}
},
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: '#e6e6e6',
fontSize: '12px',
fontWeight: 'normal'
}
},
series: [{
name: 'Call volume',
color: '#0091da',
data: [78.5, 79, 80, 82, 83.5, 81, 80, 83, 81],
marker: {
radius: 4,
fillColor: '#201F2D',
lineColor: '#0091da',
lineWidth: 2,
symbol: 'circle'
}
},{
name: 'Target',
color: '#00a3a1',
dashStyle: 'shortDot',
data: [78,80,80,85,85,85,85,85,85],
marker: {
radius: 4,
...