Chartjs-How do i make ungrouped datasets with charts.js

0👍

All you have to do is give the bars different x coordinates. Right now you get the "x" from labels, so your datasets get the same "x" and that’s why they are grouped. remove labels: labels and in data give an array of objects like this: {"x": something, "y": 123123213}

I have a fiddle about this here: JSFiddle

Leave a comment