Try textBaseline
, not textBaseLine
.
Chart.js bar chart labels do not valign
-
19-06-2023 - |
题
I added this line in chart.js
ctx.textBaseLine = "bottom";
But it does not work.
解决方案
不隶属于 StackOverflow
题
I added this line in chart.js
ctx.textBaseLine = "bottom";
But it does not work.
解决方案
Try textBaseline
, not textBaseLine
.