Chart.js Line Chart Stacked: Repeat left Y-Axis on the right

๐Ÿ‘:0

If the data is static as in your code, you can define the options min and max on 'right-y-axis' as follows:

'right-y-axis': {
   min: 0,
   max: 6000,
   type: 'linear',
   position: 'right',
 },

Leave a comment