From b73cee0d28364066321d6f2d4f32c44a71281690 Mon Sep 17 00:00:00 2001 From: AnxietyisReal <96593068+AnxietyisReal@users.noreply.github.com> Date: Sun, 22 Jan 2023 10:14:38 -0800 Subject: [PATCH] Fix improper graph label --- src/commands/mp.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/mp.ts b/src/commands/mp.ts index 788787e..476cd8e 100644 --- a/src/commands/mp.ts +++ b/src/commands/mp.ts @@ -118,7 +118,7 @@ export default { // 30m mark ctx.setLineDash([8, 16]); ctx.beginPath(); - const lastMonthStart = graphOrigin[0] + (nodeWidth * (data.length - 60)); + const lastMonthStart = graphOrigin[0] + (nodeWidth * (data.length - 30)); ctx.lineTo(lastMonthStart, graphOrigin[1]); ctx.lineTo(lastMonthStart, graphOrigin[1] + graphSize[1]); ctx.stroke(); @@ -316,4 +316,4 @@ export default { /* .addSubcommand((opt)=>opt .setName('series') .setDescription('Step-by-step on joining Daggerwin\'s MP series')) */ -} \ No newline at end of file +}