Home Forums Chart Support canvasjs Charts takes too much time to render

canvasjs Charts takes too much time to render

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

    through WebSocket fetching the data from The developers.binary but canvasjs is rendering to the charts taking too much time but I saw that a lot of charts all are rendering normally not taking much time. I want to know that why it happens.

    Live source

    what should I do to render the charts quickly? I need to visible the charts quickly is it taking time to the API call or I’ve mistaken anything?

    #36332

    @robiul,

    According to the code shared by you, it seems like the Chart is being rendered within 20-30 milliseconds. However, the API call & the response seems to be taking 3-5 seconds. Please find the code-snippet showcasing the time taken:

    console.time("Chart Render");
    chart.render();
    console.time("Chart Render");

    Kindly take a look at this updated JSfiddle for an example on the same.

    time taken to render chart


    Adithya Menon
    Team CanvasJS

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

You must be logged in to reply to this topic.