Chartjs doesn't show chart properly with JSP

๐Ÿ‘:0

The problem is that you only have one object in your dataset.
Chart.js sets the object with the lowest number to 0 on the y-axis. Iโ€™m facing the same problem but I havent found a solution yet. It seems to be a common problem with Chart.js
https://github.com/nnnick/Chart.js/issues/252

Try to use a hardcoded scale.

Leave a comment