Home forums Using CanvasJS stackedBar100 not drawing all the way to 100


This topic contains 2 replies, has 2 voices, and was last updated by  Priyanka M S 1 year, 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #20930


    Please refer to the link above.

    I’m using a stackedBar100 type graph using CanvasJS. The graph has a maximum y-axis of 100. The total value of data points I’m giving it is 99.99999983465607 (basically 100). However the graph does not get drawn all the way to the end. Even if you set the maximum y-axis to 99.99999983465607 it doesn’t draw all the way to the end.

    I believe it’s because some of the data points I’m giving it is fairly small. For example 0.008763227513227513 and 1.6534391534391533E-4. Is there any way I can get the graph to draw to the end?

    NOTE: I’m using Thymeleaf to dynamically generate the javascript on the page.



    Thanks for reporting. We are looking into it and will get back to you at the earliest.

    Priyanka MS
    Team CanvasJS



    We have just released v2.1.3 with this bug fix. Please refer to the release blog for more information. Do download the latest version from our download page and let us know your feedback.

    Priyanka M S
    Team CanvasJS

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

You must be logged in to reply to this topic.