[FIX] Proper Block graphs

This commit is contained in:
Sebastian Grewe 2014-03-01 14:16:38 +01:00
parent aa2c53bec7
commit c7fd0ce02d

View File

@ -17,6 +17,8 @@ $(function () {
]; ];
Morris.Area({ Morris.Area({
parseTime: false,
behaveLikeLine: true,
element: 'block-area-chart', element: 'block-area-chart',
data: blockdata, data: blockdata,
xkey: 'blockHeight', xkey: 'blockHeight',
@ -26,9 +28,9 @@ $(function () {
lineColors: ['#2D9C2F','#D58665','#2D619C','#FF0000'], lineColors: ['#2D9C2F','#D58665','#2D619C','#FF0000'],
pointFillColors: ['#FFFFFF'], pointFillColors: ['#FFFFFF'],
hideHover: 'auto', hideHover: 'auto',
resize: true resize: true,
fillOpacity: 0.25
}); });
}); });
</script> </script>