diff --git a/commands/player-stats.js b/commands/player-stats.js index b6f9b4d..4541fff 100644 --- a/commands/player-stats.js +++ b/commands/player-stats.js @@ -225,9 +225,8 @@ module.exports = { // Gives comfortable margin to the top of the y-axis yAxes: [{ ticks: { - min: 0, - max: Math.round(Math.max(...data)/100)*100 + (Math.round(Math.max(...data)/100)*100 % 200 == 0 ? 400 : 500), // Keeps the max y-axis as a step of 200 - step: 200, + min: Math.round(Math.min(...data)/10)*10 - 10, + max: Math.round(Math.max(...data)/10)*10 + 10, }, }] }, diff --git a/package.json b/package.json index eaa6b50..20ecb37 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dayzr-bot", - "version": "12.3.1", + "version": "12.3.2", "description": "A General Purpose Discord Bot for DayZ Nitrado Servers.", "main": "index.js", "nodemonConfig": {