From 8fcd7196f8ee605edbaf8e39c1c03d349f6530a0 Mon Sep 17 00:00:00 2001 From: Braeden Sowinski Date: Thu, 9 Nov 2023 23:02:06 -0800 Subject: [PATCH] update/remove combat rating graph max+min --- commands/compare-rating.js | 4 ++-- commands/player-stats.js | 4 ++-- package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/commands/compare-rating.js b/commands/compare-rating.js index 20f338f..80902b5 100644 --- a/commands/compare-rating.js +++ b/commands/compare-rating.js @@ -109,8 +109,8 @@ module.exports = { yAxes: [{ ticks: { fontStyle: 'bold', - max: Math.round(dataMax / 10) * 10 + 10, - min: Math.round(dataMin / 10) * 10, + // max: Math.round(dataMax / 10) * 10 + 10, + // min: Math.round(dataMin / 10) * 10, }, }], }, diff --git a/commands/player-stats.js b/commands/player-stats.js index 040f479..79bc506 100644 --- a/commands/player-stats.js +++ b/commands/player-stats.js @@ -265,8 +265,8 @@ module.exports = { yAxes: [{ ticks: { fontStyle: 'bold', - min: Math.round(Math.min(...data)/10)*10 - 10, - max: Math.round(Math.max(...data)/10)*10 + 10, + // min: Math.round(Math.min(...data)/10)*10 - 10, + // max: Math.round(Math.max(...data)/10)*10 + 10, }, }], xAxes: [{ ticks: { fontStyle: 'bold' } }], diff --git a/package.json b/package.json index 46e60f0..f505cf2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dayzr-bot", - "version": "12.4.5", + "version": "12.4.6", "description": "A General Purpose Discord Bot for DayZ Nitrado Servers.", "main": "index.js", "nodemonConfig": {