summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/recent_activities.html11
1 files changed, 9 insertions, 2 deletions
diff --git a/templates/recent_activities.html b/templates/recent_activities.html
index 53f0ef9..67643cc 100644
--- a/templates/recent_activities.html
+++ b/templates/recent_activities.html
@@ -25,8 +25,8 @@ var data = {{evolution}},
var vis = new pv.Panel()
.width(w)
- .height(h)
- .bottom(20)
+ .height(250)
+ .bottom(60)
.left(30)
.right(5)
.top(5);
@@ -39,6 +39,13 @@ var bar = vis.add(pv.Bar)
.bottom(0)
.height(y);
+bar.anchor("bottom").add(pv.Label)
+ .textMargin(5)
+ .textAlign("right")
+ .textBaseline("middle")
+ .textAngle(-Math.PI / 2)
+ .text(function() dates[this.index]);
+
var title = vis.add(pv.Label)
.left(250)
.top(16)