From e9a5b2f81c15b071dc31816aec2133ec2c611861 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Fri, 7 Feb 2014 09:13:51 +0100 Subject: [PATCH 1/1] Nicer graphs --- continuous/www/wvperf2html.py | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) 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