diff --git a/app/views/stats/index.phtml b/app/views/stats/index.phtml
index 412e77e16..bbdcfaec8 100644
--- a/app/views/stats/index.phtml
+++ b/app/views/stats/index.phtml
@@ -92,7 +92,14 @@ function initStats() {
}
// Entry per day
Flotr.draw(document.getElementById('statsEntryPerDay'),
- [count ?>],
+ [{
+ data: count ?>,
+ bars: {horizontal: false, show: true}
+ },{
+ data: avg,
+ lines: {show: true},
+ label: "average?>"
+ }],
{
grid: {verticalLines: false},
bars: {horizontal: false, show: true},
diff --git a/app/views/stats/repartition.phtml b/app/views/stats/repartition.phtml
index b425c1458..750a3ffdc 100644
--- a/app/views/stats/repartition.phtml
+++ b/app/views/stats/repartition.phtml
@@ -67,7 +67,7 @@ function initStats() {
}, {
data: avg_h,
lines: {show: true},
- label: averageHour?>,
+ label: "averageHour?>",
yaxis: 2
}],
{
@@ -96,7 +96,7 @@ function initStats() {
}, {
data: avg_dow,
lines: {show: true},
- label: averageDayOfWeek?>,
+ label: "averageDayOfWeek?>",
yaxis: 2
}],
{
@@ -126,7 +126,7 @@ function initStats() {
}, {
data: avg_m,
lines: {show: true},
- label: averageMonth?>,
+ label: "averageMonth?>",
yaxis: 2
}],
{