mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-04 03:20:44 +00:00
Fix #1155
This commit is contained in:
4
public/js/ff/charts.js
vendored
4
public/js/ff/charts.js
vendored
@@ -83,6 +83,10 @@ const verticalLinePlugin = {
|
|||||||
// write label
|
// write label
|
||||||
context.fillStyle = "#444444";
|
context.fillStyle = "#444444";
|
||||||
context.textAlign = 'left';
|
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
|
context.fillText(todayText, lineLeftOffset, scale.top * 3); // (scale.bottom - scale.top) / 2 + scale.top
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user