My Bar chart is drawing all the way to the top when the data is equal to 1

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Xue on 6th May 2016
When all elements of data array are equal to 1 the bar chart will draw the bars all the way to the top of the chart. Right now I have to put a works around to add a small fraction to the data if it's 1.
Posted by Richard on 6th May 2016

If your numbers are actually strings that may cause it. You could do this to convert the strings to numbers:

var num = parseFloat('1.0');


Add a reply

« Back to message list