Fix bar/column/line

With 1 array of data for 1 categorie eg: [1,3,4]
now will work with 1 category