Home forums Report Bugs Problem with very small floats

This topic contains 1 reply, has 2 voices, and was last updated by  Indranil Deo 3 weeks, 1 day ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17690

    hspecter
    Member

    Hello,
    I’m running into a weird case where my data looks like this:

    {x : -5.68434189e-14, y: 1},
    {x: -4.26325641e-14, y: 2},
    {x: -2.84217094e-14, y:1},
    {x: -1.42108547e-14, y:2},

    And a simple plot line works fine. Howerver if I add:
    {x: 0, y: 1}
    Then the page goes into memory overflow, and eventually dies.

    Here is a fiddle: https://jsfiddle.net/m7ztzr5L/
    If you uncomment the last datapoint you’ll run into this issue.

    Thanks

    #17700

    Indranil Deo
    Member

    @hspecter,

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

    __________
    Indranil Deo,
    Team CanvasJS

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

You must be logged in to reply to this topic.