From dc9b2cb2886a6d076b76f222d3515e0f179bf9b4 Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Tue, 4 Sep 2012 16:24:16 +0000 Subject: adjust bg color --- lib.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib.php b/lib.php index 1bdb13d..b00244e 100644 --- a/lib.php +++ b/lib.php @@ -285,7 +285,8 @@ function draw_status_chart() { 'title':'Packages status', 'width':600, 'height':200, - 'colors': ['white', 'yellow', 'blue', 'green', 'orange', 'red'] + 'colors': ['white', 'yellow', 'blue', 'green', 'orange', 'red'], + 'backgroundColor': '#f8f8f8' }; var chart = new google.visualization.PieChart(document.getElementById('{$id}')); @@ -334,7 +335,8 @@ function draw_buildtime_chart() { title: 'How long are most builds?', hAxis: {title: 'Time'}, 'width':600, - 'height':200 + 'height':200, + 'backgroundColor': '#f8f8f8' }; var chart = new google.visualization.ColumnChart(document.getElementById('{$id}')); chart.draw(data, options); @@ -359,7 +361,8 @@ function draw_buildschedule_chart() { hAxis: {title: 'Hours'}, 'width':600, 'height':200, - 'curveType': 'function' + 'curveType': 'function', + 'backgroundColor': '#f8f8f8' }; var chart = new google.visualization.LineChart(document.getElementById('{$id}')); chart.draw(data, options); -- cgit v1.2.1