Home Forums Chart Support Re-adjust line based on timestamp

Re-adjust line based on timestamp

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

    I’m building a chart where data gets pushed to the graph on a second base. Sometimes when the backend is a bit overloaded, some seconds are delayed while the next second is already being received. When the delayed second is finally received, the line goes back in time. The lines then make a curly curve then a new second is received. I have attached a screenshot where you can observe the curly problem.

    The data is placed on the X axis using a timestamp. I wonder if there might be a setting where the chart would just redraw the line based on it’s timestamp instead of when it’s pushed?

    Curls in chart

    #39137

    @lars_,

    You can sort the datapoints before rendering the chart to achieve your requirement. Please refer to this forum thread for more information.


    Thangaraj Raman
    Team CanvasJS

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

You must be logged in to reply to this topic.