0👍
To rotate the entire chart element, as in your image, you can use the CSS rotate transform function:
#chart-zone {
transform: rotate(90deg);
}
Note that the chart might get clipped so you would need to set the bounding size (height/width) of your container appropriately.
- Chartjs-How to disable scientific notations in logarithmic chart type
- Chartjs-ASP.NET Core Razor Pages – Get List Data to Display on Chart.js Graph
Source:stackexchange.com