'I want to rotate legend in xAxes on left position in React chart.js. and i used below code. but it's not working

options={{ maintainAspectRatio: false, scales: { xAxes: { ticks: { autoSkip: false, maxRotation: 90, minRotation: 90, }, }, yAxes: { beginAtZero: true, }, },



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source