Chartjs-It's possibleto render multiple scatter chart in chart-js with second y-axis as caterory?

0👍

You can achieve this by stacking multiple y-axis
You can take a look at this link: https://www.chartjs.org/docs/latest/samples/scales/stacked.html

For the Dataset id axis, you can write something like this (it is just a hint, not a final solution):

const config = {
 [...],
  options: {
    scales: {
       y3:{
          type: 'category',
          position:"right",
          display:true,
          labels:[1,2,3], // Here you should get the number of dataset that you have, to make it generic
       }
     }
   }

Leave a comment