From 092a9dad6ad1ca7048799f37cd540fa84e36128d Mon Sep 17 00:00:00 2001 From: baz Date: Tue, 7 Jan 2025 23:14:49 +0000 Subject: [PATCH] Set X axis to begin at zero --- commands/100-games/chartbeatgameage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/100-games/chartbeatgameage.js b/commands/100-games/chartbeatgameage.js index faab636..b232c4c 100644 --- a/commands/100-games/chartbeatgameage.js +++ b/commands/100-games/chartbeatgameage.js @@ -95,7 +95,8 @@ module.exports = { options: { scales: { x: { - beginAtZero: false, + beginAtZero: true, + min: 0, max: labels.length + 1, type: 'linear', position: 'bottom',