Nunwood VOC CEE 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: '#202020'
},
height: 320,
width: 720
},
credits: {
enabled: false
},
exporting: {
enabled: false
},
title: {
text: ' '
},
subtitle: {
text: ' '
},
xAxis: {
categories: ['May', 'June', 'July', 'August', 'September', 'October'],
labels: {
style: {
color: '#202020',
fontSize: '14px',
fontFamily: 'Open Sans'
}
},
tickLength: 5
},
yAxis: {
min: 0,
title: {
text: ' '
},
tickInterval: 5,
gridLineColor: '#999',
labels: {
style: {
color: '#202020',
fontSize: '14',
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: '#202020',
fontSize: '12px',
fontWeight: 'normal'
}
},
series: [{
name: 'Staff Knowledge',
color: '#e1192c',
data: [10,8,6,11,16,16],
marker: {
radius: 4,
fillColor: '#fff',
lineColor: '#e1192c',
lineWidth: 2,
symbol: 'circle'
}
}]
});