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 +}