AnyChart | How can I update Gantt Chart with JavaSc...
Welcome, Guest Login

Support Center

How can I update Gantt Chart with JavaScript?

Last Updated: May 31, 2018 08:52PM MDT
Every item in a Gantt Chart may be updated with the set() method:

// get the item
var item ="id", "5");
// change the name
item.set("name", "Evaluate Business Approach");

All supported settings can be modified with that method, you need to update only the data, ​chart updates automatically when the data is updated. For more information about how to work with Gantt Chart data structure please see Using Data Tree Model article.

Take a look at the example of Gantt Chart automatically updating based on JavaScript Resources Gantt Chart.

Contact Us
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found