mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-12-27 04:15:38 -05:00
Fix improper graph label
This commit is contained in:
parent
226171f914
commit
44b36dd7b4
@ -118,7 +118,7 @@ export default {
|
|||||||
// 30m mark
|
// 30m mark
|
||||||
ctx.setLineDash([8, 16]);
|
ctx.setLineDash([8, 16]);
|
||||||
ctx.beginPath();
|
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]);
|
||||||
ctx.lineTo(lastMonthStart, graphOrigin[1] + graphSize[1]);
|
ctx.lineTo(lastMonthStart, graphOrigin[1] + graphSize[1]);
|
||||||
ctx.stroke();
|
ctx.stroke();
|
||||||
@ -316,4 +316,4 @@ export default {
|
|||||||
/* .addSubcommand((opt)=>opt
|
/* .addSubcommand((opt)=>opt
|
||||||
.setName('series')
|
.setName('series')
|
||||||
.setDescription('Step-by-step on joining Daggerwin\'s MP series')) */
|
.setDescription('Step-by-step on joining Daggerwin\'s MP series')) */
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user