summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre-Yves Chibon <pingou@pingoured.fr>2012-04-11 21:55:44 +0200
committerPierre-Yves Chibon <pingou@pingoured.fr>2012-04-11 21:55:44 +0200
commitfc9e35f608125502f125a873a4b998a4f4b310a5 (patch)
treef21affb9144dc0c038d651a1ecc79ad099ff6d2c
parenta8312d2275e132d703776f9b61f8a2a120b93075 (diff)
downloadhyperkitty-fc9e35f608125502f125a873a4b998a4f4b310a5.tar.gz
hyperkitty-fc9e35f608125502f125a873a4b998a4f4b310a5.tar.xz
hyperkitty-fc9e35f608125502f125a873a4b998a4f4b310a5.zip
Add a title to the graph
-rw-r--r--templates/recent_activities.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/recent_activities.html b/templates/recent_activities.html
index eefb7b8..7d88aa6 100644
--- a/templates/recent_activities.html
+++ b/templates/recent_activities.html
@@ -35,6 +35,13 @@ var bar = vis.add(pv.Bar)
.width(x.range().band)
.bottom(0)
.height(y);
+
+var title = vis.add(pv.Label)
+ .left(250)
+ .top(16)
+ .textAlign("center")
+ .text("Activities on the list over the last 30 days");
+
/*
bar.anchor("top").add(pv.Label)
.textStyle("white")