Home Forums Chart Support Axis label rounding problem

Axis label rounding problem

Viewing 2 posts - 1 through 2 (of 2 total)
  • #39022

    Hi,

    sometimes the first label of the y-axis is displayed with a lot of decimal places.
    For example the labels of the y axis are: 17.0, 17.1, 17.2…. 18.0. But the first label is 16.9000000000000000002.
    I do not want to set the step size or the value precision, I want the chart to choose the optimal scaling.
    Does anyone know the problem? Could anyone let me know how to solve it?

    #39025

    @amanda,

    Can you kindly create a JSFiddle reproducing the issue you are facing & share it with us so that we can look into the code/chart options being used, understand the scenario better and help you out?


    Thangaraj Raman
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.