[Chartjs]-ChartJS rotate 90' but keep text straight

0👍

This is not possible by default, looking at the source of chart.js they dont pass any rotation paramater to their text draw function where those labels are drawn: https://github.com/chartjs/Chart.js/blob/ed73dce18bd5a2d523409d1fcaadaf2bcdd1d89c/src/scales/scale.radialLinear.js#L552

So atm the only way to achieve this would be to render empty string using the scale callback and draw then numbers on the canvas yourself with an custom inline plugin

Leave a comment