diff --git a/js/pages/serverInfo.js b/js/pages/serverInfo.js index 6dc3884..592ec48 100644 --- a/js/pages/serverInfo.js +++ b/js/pages/serverInfo.js @@ -94,10 +94,11 @@ function ServerInfoPage(params, container) { .y(function (d) { return d.y; }) .showLabels(true) .donut(true) + .donutLabelsOutside(false) .duration(500) .height(250) .color(['#a78bfa', '#7c3aed', '#e879f9', '#2d1f3d']) - .margin({ top: 0, right: 75, bottom: 0, left: 75 }); + .margin({ top: 5, right: 5, bottom: 5, left: 5 }); playersChart.pie.startAngle(function (d) { return d.startAngle / 2 - Math.PI / 2; }); playersChart.pie.endAngle(function (d) { return d.endAngle / 2 - Math.PI / 2; });