summaryrefslogtreecommitdiff
path: root/stats
diff options
context:
space:
mode:
authorMartin Peres <martin.peres@linux.intel.com>2015-09-02 12:56:13 +0300
committerMartin Peres <martin.peres@linux.intel.com>2015-09-02 12:56:13 +0300
commit79c63bddfe928ec117da970c979c62d6674d74c3 (patch)
tree511a06a0336a88620451b35640db7f4ef6fa2e5d /stats
parentcf8aeba48be1442381997716313837fcdd185f71 (diff)
stats/gen_report: slant the horizontal axis labels by 45°
Diffstat (limited to 'stats')
-rwxr-xr-xstats/gen_report.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/stats/gen_report.py b/stats/gen_report.py
index 9dadae9..c877709 100755
--- a/stats/gen_report.py
+++ b/stats/gen_report.py
@@ -229,7 +229,7 @@ html_template="""
focusTarget: 'datum',
tooltip: {trigger: 'selection', isHtml: true},
crosshair: { trigger: 'both' },
- hAxis: {title: 'Commits'},
+ hAxis: {title: 'Commits', slantedText: true, slantedTextAngle: 45},
vAxis: {title: 'Perf. diff. with the first commit (%)'},
series: series,
chartArea: {left:"5%", width:"95%"}
@@ -240,7 +240,6 @@ html_template="""
google.visualization.events.addListener(chart, 'select', function () {
var sel = chart.getSelection();
- //alert(sel + "sel.length = " + sel.length)
// See https://developers.google.com/chart/interactive/docs/reference#visgetselection
if (sel.length > 0 && typeof sel[0].row === 'object') {
var col = sel[0].column;