Home Forums Chart Support Line Graph Bugs Reply To: Line Graph Bugs


We have gone through the code snippet, once you are updating the data you should call render method on chart. In the library with resizing of window, chart automatically calls render method to fit into resized window. So, you could view updated chart once you resize the window.

Here you have to modify the following line
as if(document.getElementById("Veruca").checked&&(atelesoff)){Veruca(); chart.render();}

Doing the same with all the check-boxes (line no. 379-401 of fiddle) should fix your problem. As shown as video if you are using submit button it will be efficient to call render method inside submit button click handler.

**Note:- At any point of time if you want to show the chart with updated options/data, call render method on chart.