diff options
author | Romain d'Alverny <rda@mageia.org> | 2012-09-04 16:00:09 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2012-09-04 16:00:09 +0000 |
commit | aec63d96ab5ea8dee9946f3f98130406981fed28 (patch) | |
tree | 6e80d84bd77378c1b4f686c0cd5a89ba0e3d17bc /lib.php | |
parent | f2122a8cd8500bb775b04971b48c6faaa1af2e0a (diff) | |
download | pkgsubmit-aec63d96ab5ea8dee9946f3f98130406981fed28.tar pkgsubmit-aec63d96ab5ea8dee9946f3f98130406981fed28.tar.gz pkgsubmit-aec63d96ab5ea8dee9946f3f98130406981fed28.tar.bz2 pkgsubmit-aec63d96ab5ea8dee9946f3f98130406981fed28.tar.xz pkgsubmit-aec63d96ab5ea8dee9946f3f98130406981fed28.zip |
adjust charts colors/sizes
Diffstat (limited to 'lib.php')
-rw-r--r-- | lib.php | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -281,9 +281,12 @@ function draw_status_chart() { data.addColumn('number', 'Packages'); data.addRows([{$rows}]); - var options = {'title':'Packages status', - 'width':300, - 'height':300}; + var options = { + 'title':'Packages status', + 'width':300, + 'height':300, + 'colors': ['white', 'yellow', 'blue', 'green', 'orange', 'red'] + }; var chart = new google.visualization.PieChart(document.getElementById('{$id}')); chart.draw(data, options); @@ -325,8 +328,8 @@ function draw_buildtime_chart() { var options = { title: 'How long are most builds?', hAxis: {title: 'Time'}, - 'width':500, - 'height':200 + 'width':700, + 'height':300 }; var chart = new google.visualization.ColumnChart(document.getElementById('{$id}')); chart.draw(data, options); @@ -349,7 +352,7 @@ function draw_buildschedule_chart() { var options = { title: 'When did builds happen? (CET)', hAxis: {title: 'Hours'}, - 'width':800, + 'width':700, 'height':200, 'curveType': 'function' }; |