incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [40/50] [abbrv] git commit: make pie chart labels easier to read
Date Sat, 31 May 2014 14:22:13 GMT
make pie chart labels easier to read

Signed-off-by: Chris Rohr <rohr.chris@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/d2897793
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/d2897793
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/d2897793

Branch: refs/heads/apache-blur-0.2
Commit: d2897793d64482c91099018ba9d573d61468a759
Parents: 2363359
Author: Andrew Avenoso <andrew.va@gmail.com>
Authored: Thu May 29 13:21:44 2014 -0400
Committer: Chris Rohr <rohr.chris@gmail.com>
Committed: Thu May 29 15:57:56 2014 -0400

----------------------------------------------------------------------
 contrib/blur-console/src/main/webapp/js/blurconsole.dashboard.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d2897793/contrib/blur-console/src/main/webapp/js/blurconsole.dashboard.js
----------------------------------------------------------------------
diff --git a/contrib/blur-console/src/main/webapp/js/blurconsole.dashboard.js b/contrib/blur-console/src/main/webapp/js/blurconsole.dashboard.js
index 1d84357..029c948 100644
--- a/contrib/blur-console/src/main/webapp/js/blurconsole.dashboard.js
+++ b/contrib/blur-console/src/main/webapp/js/blurconsole.dashboard.js
@@ -37,7 +37,7 @@ blurconsole.dashboard = (function () {
 							show : true,
 							radius : 2/3,
 							formatter : function(label, series) {
-								return '<div style="font-size:8pt;text-align:center;padding:2px;color:white">'
+ label + '<br/>' + Math.round(series.percent) + '% (' + series.data[0][1] + ')</div>';
+								return '<div style="font-size:10pt;font-weight:bold;text-align:center;padding:2px;color:white">'
+ label + '<br/>' + Math.round(series.percent) + '% (' + series.data[0][1] + ')</div>';
 							},
 							threshold : 0.1
 						}


Mime
View raw message