diff --git a/src/components/ClientsGraph.js b/src/components/ClientsGraph.js index 55b279d..cb3d69c 100644 --- a/src/components/ClientsGraph.js +++ b/src/components/ClientsGraph.js @@ -56,7 +56,7 @@ class ClientsGraph extends Component { // If we ran out of colors, make a random one backgroundColor: i < colors.length ? colors[i] - : '#' + parseInt("" + Math.random() * 0xffffff, 10).toString(16), + : '#' + parseInt("" + Math.random() * 0xffffff, 10).toString(16).padStart(6, "0"), pointRadius: 0, pointHitRadius: 5, pointHoverRadius: 5,