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

Support Center

How can I update Gantt Chart with JavaScript?

Last Updated: Dec 01, 2016 01:42PM MST
Every item in a Gantt Chart may be updated with the set() method:

// get the item
var item = treeData.search("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

support@anychart.com
http://assets1.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete