update/combat rating graph
This commit is contained in:
2 files changed
+3
-4
No files matched your search
@@ -225,9 +225,8 @@ module.exports = {
|
|||||||
// Gives comfortable margin to the top of the y-axis
|
// Gives comfortable margin to the top of the y-axis
|
||||||
yAxes: [{
|
yAxes: [{
|
||||||
ticks: {
|
ticks: {
|
||||||
min: 0,
|
min: Math.round(Math.min(...data)/10)*10 - 10,
|
||||||
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
|
max: Math.round(Math.max(...data)/10)*10 + 10,
|
||||||
step: 200,
|
|
||||||
},
|
},
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "dayzr-bot",
|
"name": "dayzr-bot",
|
||||||
"version": "12.3.1",
|
"version": "12.3.2",
|
||||||
"description": "A General Purpose Discord Bot for DayZ Nitrado Servers.",
|
"description": "A General Purpose Discord Bot for DayZ Nitrado Servers.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"nodemonConfig": {
|
"nodemonConfig": {
|
||||||
|
|||||||
Reference in new issue
Block a user