I’ve this graph.

I only what to display integer steps on the y axis.
So instead of [0, 0.5, 1, 1.5, 2, 2.5] I want [0,1,2].
Is that possible? I’m not sure what to look for in the official API.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The answer you’re looking for is the
allowDecimalsBoolean:With
allowDecimals: false.And the same graph with
allowDecimals: true.References:
allowDecimals.