You must be logged in to post your query.
Home › Forums › StockChart Support › Chart data not showing correctly for new data points
Tagged: re render, update data
Hi.
I have a chart where my first point as an x-coordinate of 87 and my last point has an x-coordinate of 187. I am seeing a chart where x-axis starts from 87 and ends at 187, which is fine.
Now programatically I am refetching the data and the old data are discarded. Now in my new data, my first point has an x-coordinate of 200 and my last point has an x-coordinate of 300. But in this case my chart’s x-axis is still showing from 87 to 187 instead of the new x axis range(from 200 to 300)
It would be great if someone could help me out please. Thanks
@mustadirmahmood,
Considering this as duplicate of Entire chart is not showing after data points are updated in react, hence closing the same.
— Vishwas R Team CanvasJS
You must be logged in to reply to this topic. Login/Register