diff --git a/ffmap/web/static/css/style.css b/ffmap/web/static/css/style.css index 3adad8a..8f080b8 100644 --- a/ffmap/web/static/css/style.css +++ b/ffmap/web/static/css/style.css @@ -37,3 +37,11 @@ table.neighbours { padding-left: 5px; padding-right: 7px; } +.graph-pie { + height: 250px; + width: 100%; +} +.graph-pie .legendLabel { + padding-left: 5px; + padding-right: 7px; +} diff --git a/ffmap/web/static/js/graph.js b/ffmap/web/static/js/graph.js index 7224c68..b6fda93 100644 --- a/ffmap/web/static/js/graph.js +++ b/ffmap/web/static/js/graph.js @@ -357,7 +357,7 @@ function global_router_firmwares_graph() { tooltip: {show: true, content: "%s: %p.0%", shifts: {x: 15, y: 5}, defaultTheme: true}, series: {pie: { show: true, radius: 99/100, label: {show: true, formatter: labelFormatter, radius: 0.5, threshold: 0.10}, - combine: {threshold: 0.009} + combine: {threshold: 0.019} }} }); placeholder.bind("plotclick", function(event, pos, obj) { @@ -382,7 +382,7 @@ function global_router_models_graph() { tooltip: {show: true, content: "%s: %p.0%", shifts: {x: 15, y: 5}, defaultTheme: true}, series: {pie: { show: true, radius: 99/100, label: {show: true, formatter: labelFormatter, radius: 0.5, threshold: 0.2}, - combine: {threshold: 0.009} + combine: {threshold: 0.029} }} }); placeholder.bind("plotclick", function(event, pos, obj) { diff --git a/ffmap/web/templates/statistics.html b/ffmap/web/templates/statistics.html index a8c3a99..8500805 100644 --- a/ffmap/web/templates/statistics.html +++ b/ffmap/web/templates/statistics.html @@ -130,7 +130,7 @@
Router Firmwares @ {{ selecthood }}
-
+
@@ -138,7 +138,7 @@
Router Models @ {{ selecthood }}
-
+