Nationwide Trend Chart
by Danielle Parkinson
HTML
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/modules/exporting.js"></script>
<div id="container" style="min-width: 400px; height: 400px; margin: 0 auto"></div>
CSS
body{
background:#fff;
}
JavaScript
$(function () {
$('#container').highcharts({
chart: {
type: 'line',
width: 1250,
height: 480,
backgroundColor: '#fff'
},
title: {
text: ' '
},
xAxis: {
categories: ['Research', 'Open', 'Enquiry', 'Transact', 'Renew', 'Close', 'Other'],
title: {
text: null
}
},
yAxis: {
tickInterval: 10,
title: {
text: ' ',
style: {
fontWeight: 'normal'
}
}
},
tooltip: {
valueSuffix: ' millions'
},
plotOptions: {
column: {
dataLabels: {
y: 20,
color: '#ffffff',
enabled: true
}
}
},
legend: {
borderWidth: 0,
itemStyle: {
fontWeight: 'normal'
}
},
credits: {
enabled: false
},
series: [{
name: 'Branch Overall',
data: [80,85,80,85,80,85,80,],
dataLabels: {
enabled: false
},
color: '#002878',
marker: {
enabled: true
}
},{
name: 'North Branches Overall',
data: [75,80,75,80,75,80,75,],
dataLabels: {
enabled: false
},
color: '#dc291e',
marker: {
enabled: true
}
},{
name: 'South Branches Overall',
data:...