score:1

Accepted answer

you don't need to specify yaxis to datasets(it'll be good way what you have done if you have 2 datasets only), it will be there anyway,you are adding data to yaxis in case that you are creating vertical chart, it's only overwriting your data in this case. remove yaxisid: 'yaxis1' and yaxisid: 'yaxis2' from datasets. it'll work.

what you need is:

   ticks: {
       max: 80,
       min: 0
   }

add this to your yaxis conf, it'will look like:

scales: {
      yaxes: [
          {
              id: 'yaxis1',
              position: 'left',
              ticks: {
                  max: 80,
                  min: 0
              }
          },
          {
              id: 'yaxis2',
              position: 'right',
              ticks: {
                  max: 80,
                  min: 0
              }
          }
      ]
  }

Related Query

More Query from same tag