Chartjs-Chart.js two categorical scales

0πŸ‘

2 errors, type categorical does not exist. If you want a category axis you need to specify the type as: type:'category'. Also if you want a catergory Y axis you need to provide a labels array.

Also scatter plots don’t display any category data by default. By default scatter plots have 2 linear axes.

Leave a comment