Chartjs-How to fix a stacked logarithmic bar chart values to fit the grid

1👍

Found the problem, in my project the data in the dataset object was a string array (something like[“1″,”2″,”3”]). After parseInt the elements in the data array , the stacked logarythmic bar chart work fine. Funny thing that I created many chart-s with string data arrays using chart.js, and I only encountered this issue in chart-s where the type was set to logarithmic, and both axis set to stacked.

Leave a comment