Try textBaseline
, not textBaseLine
.
Chart.js bar chart labels do not valign
-
19-06-2023 - |
Question
I added this line in chart.js
ctx.textBaseLine = "bottom";
But it does not work.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow