Skip to content

Firefly III: a personal finances manager

Fix #1155

James Cole1e2c97934171
diff --git a/public/js/ff/charts.js b/public/js/ff/charts.js
index aa01a761fd..bec7c03c18 100644
--- a/public/js/ff/charts.js
+++ b/public/js/ff/charts.js
@@ -83,6 +83,10 @@ const verticalLinePlugin = {
// write label
context.fillStyle = "#444444";
context.textAlign = 'left';
+ if(pointIndex > 23) {
+ todayText = todayText + ' ';
+ context.textAlign = 'right';
+ }
context.fillText(todayText, lineLeftOffset, scale.top * 3); // (scale.bottom - scale.top) / 2 + scale.top
},