The Bar chart Y labels are wrong when all of the values are 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 Mar on 20th November 2017
Bar y-axis count broken when datas value is 1

Please see image for further info.
imgur.com/wZYFbtB

Kind Regards,
Mar
Posted by Richard on 20th November 2017
Hi there,

The values are being rounded to either one or zero. To get around this you can simply specify the scaleDecimals option and set it to 1. For example:

...
scaleDecimals: 1,
...

Richard
Posted by Mar on 21st November 2017
Thanks Richard, that works! :)


Cheers!
Mar

Add a reply




« Back to message list