Home Forums Report Bugs Render Hangs for Line Chart

Render Hangs for Line Chart

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


    I found a bug that occurs when attempting to render a line chart.


    • Data series (any number) with type ‘line’
    • Single data point (no more, no less) with very large x value


    • Render will freeze browser tab and consume large amounts of CPU/memory

    Here is a fiddle with comment explanations that can reproduce the issue: https://jsfiddle.net/xwqvL3gf/3/

    Please let me know if there is a workaround.



    Thanks for sharing the use-case. We are currently looking into your use case. However, for the workaround, you can convert your datapoint from microseconds to milliseconds and using xValueFormatString you can display it as microseconds as shown in this JSFiddle.

    Manoj Mohan
    Team CanvasJS

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

You must be logged in to reply to this topic.