ElementStacks
HTML
<script src="http://highcharts.com/js/testing.js"></script>
<div id="chart" style="height:300px;">
</div>
JavaScript
$(function() {
new Highcharts.Chart({
chart: {
renderTo: "chart"
},
title: {
text: "Visits by Day"
},
xAxis: {
type: "datetime"
},
yAxis: {
title: {
text: ""
}
},
tooltip: {
formatter: function() {
return Highcharts.dateFormat("%B %e, %Y", this.x) + ': ' +
" " + Highcharts.numberFormat(this.y,0);
}
},
series: [
{
name: "Visits",
pointInterval: 86400000,
pointStart: 1315612800000,
data: [0, 0, 0, 0, 0, 0, 0, 0, 353.59, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
},
]
});
});