Code: Select all
chart: {
renderTo: 'chart1',
type: 'column'
},
title: {
text: 'Chart Title'
},
subtitle: {
text: ''
},
colors: ['#005073','#64e572','#24cbe5','#F7A35C','#B593CD','#D0B16A','#A45B10','#00CFD2','#00CFD2','#3399cc','#9B59B6'],
xAxis: {
min:0,
max:9,
categories:['2008','2009',2010','2011','2012','2013','2014','2015','2016','2017','2018','2019']
},
yAxis: {
min: 0,
title: {
text: 'Count'
}
},
tooltip: {
formatter: function() {
return '' + this.series.name + ': ' + this.y;
}
},
plotOptions: {
column: {
stacking: 'normal',
pointPadding: 0.2,
borderWidth: 0.5,
dataLabels: {
enabled: true
}
}
},
legend: {
layout: 'horizontal',
align: 'center',
verticalAlign: 'bottom',
floating: false,
labelFormatter: function() {
return '<div class="' + this.name + '-arrow"></div><span style="font-family: \'Advent Pro\', sans-serif; font-size:12px">' + this.name + '</span><br/>';
}
},
credits: {
enabled: false
},
exporting: {
enabled: true
},
series: [{
name: 'Installation',
data: [43934, 52503, 57177, 69658, 97031, 119931, 137133, 154175,1124,8876,1234]
}],
scrollbar: {
enabled: true,
barBackgroundColor: 'gray',
barBorderRadius: 7,
barBorderWidth: 0,
buttonBackgroundColor: 'gray',
buttonBorderWidth: 0,
buttonArrowColor: 'yellow',
buttonBorderRadius: 7,
rifleColor: 'yellow',
trackBackgroundColor: 'white',
trackBorderWidth: 1,
trackBorderColor: 'silver',
trackBorderRadius: 7
}
});