Chart.js
Chart.js copied to clipboard
Vertical orientation in char labels
Hello,
I'm using this code: ctx.fillText(points.value, points.x + 15, points.y - 3); to show the values for each point on a line chart.
is it possible to show these labels with a vertival text orientation, so that the text willnot overlap in case there are many values in the chart?
Thank you.
@mazzimi you're either going to need to rotate the canvas and draw the text or fill each character on it's own line. Unfortunately the canvas has no built in way to do this.