This is the source code http://jsfiddle.net/m5cvH/
Im not really sure why but I cannot get the x axis to display the correct timestamp information, the timestamp data is in unix timestamp format.. And I also cant figure out how to get these two graphs to stack properly.
Also I would like to Datagroup this data using the datagrouping method provided by the Highcharts library.
var chart;
chart = new Highcharts.Chart({
chart: {
renderTo: container,
type: 'area',
marginRight: 130,
marginBottom: 85
},
title: {
text: 'Patron Count Spring 2012',
x: -20 //center
},
xAxis: {
categories: time,
labels: {
rotation: -45,
align: 'right',
style: {
fontSize: '13px',
fontFamily: 'Verdana, sans-serif'
}
}
},
plotOptions: {
area: {
stacking: 'normal',
marker: {
enabled: false
}
},
},
yAxis: {
title: {
text: 'Count'
},
plotLines: [{
value: 0,
width: 1,
color: '#808080'
}]
},
legend: {
layout: 'vertical',
align: 'right',
verticalAlign: 'top',
x: -10,
y: 100,
borderWidth: 0
},
series: date
});