Home Forums Report Bugs Render Hangs for Line Chart

Render Hangs for Line Chart

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

    Hello,

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

    Cause:

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

    Symptoms:

    • 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.

    #28347

    @cjodmc,

    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.