--- a/templates/fancy.html Sun Feb 07 22:32:30 2016 +0800
+++ b/templates/fancy.html Sun Feb 07 22:55:52 2016 +0800
tooltip: {format: {title: function(x) { return x; }}},
data: JSON.parse(document.getElementById('data').firstChild.nodeValue)
+ axis: {x: {tick: {format: function(x) { return -x; }}}},
--- a/viewer.py Sun Feb 07 22:32:30 2016 +0800
+++ b/viewer.py Sun Feb 07 22:55:52 2016 +0800
results, _ = self.getresults(changesets, marks=marks, colors=False)
- item = {'rev': cset['rev']}
+ item = {'rev': -cset['rev']}
values = results.get(cset['node'], {}).get(mark, None)