From: Michal Sojka Date: Fri, 7 Feb 2014 08:13:51 +0000 (+0100) Subject: Nicer graphs X-Git-Tag: fix-allnoconfig~20 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/commitdiff_plain/e9a5b2f81c15b071dc31816aec2133ec2c611861 Nicer graphs --- diff --git a/continuous/www/wvperf2html.py b/continuous/www/wvperf2html.py index 3c3607b..2c2952c 100755 --- a/continuous/www/wvperf2html.py +++ b/continuous/www/wvperf2html.py @@ -146,6 +146,9 @@ class Graph: def options_json(self): options = { + 'chart': { + 'borderWidth': 1, + }, 'rangeSelector': { 'selected': 5 # All }, @@ -185,6 +188,7 @@ class Graph: 'x': -3 }, 'title': { 'text': axis.getLabel() }, 'minRange': axis.minrange, + 'tickPixelInterval': 40, } for axis in self.axes_ordered], 'series': [{ 'name': '%s [%s]' % (col.name, col.units), 'yAxis': col.axis.num } @@ -274,17 +278,18 @@ for g in graphs: g.findRanges() g.fixupAxisNumbers() +pagetitle="Linux CAN subsystem performance plots" print(""" - NUL Performance Plots + %(pagetitle)s