You must be logged in to post your query.
Home › Forums › Chart Support › How to control axis tick with float number?
I use canvasJS for chart.
It works well. But sometimes it’s not.
When I set minimum and maximum in YAxis option, sometimes charts are weird.
For example, maximum is 7.4 and minmum is 7.2.
Actually, it seems like maximum is 7.6 and mimimum is 7.0.
And interval between tick and tick is 0.1.
But, 7.0 is showed 7.000000001. So, the YAxis starts right side far from YAxis Title.
Setting floating values in minimum and maximum of y-axis seems to be working fine. Please take a look at this JSFiddle for the same.
If you are still facing the issue, kindly create JSFiddle reproducing the issue you are facing and share it with us so that we can understand your scenario better and help you out.
You must be logged in to reply to this topic. Login/Register