Chartjs-Is it possible to display in a chart the axis in reverse, from example the x axis from right to left and the y from left to right? React-chart-js

0👍

Actually, you can reverse to arrays. In addition, depending on the situation, You can add new items in reverse.

            labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'].reverse(),

          data: [65, 59, 80, 81, 56, 55, 40].reverse(),

Leave a comment