Home Forums Chart Support Data only Loads after window is resized Reply To: Data only Loads after window is resized

#28996

Saulius,

From the code that you have shared, I observe that you are not re-rendering the chart after fetching data. Rendering chart by calling chart.render() after updating dataPoints (TotalPower & TotalVoltage) inside getJSON should work fine in this case. Try calling render method and let us know if that works for you.

If the issue still persists, kindly create JSFiddle reproducing the issue and share it with us along with sample JSON so that we can run it locally at our end to understand the scenario better and help you resolve.


Vishwas R
Team CanvasJS