You must be logged in to post your query.
Home › Forums › Chart Support › Re-adjust line based on timestamp
Tagged: curls timestamps xaxis second
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?
@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
You must be logged in to reply to this topic. Login/Register