renders the whole Gantt chart
gantt.config.scales = [
{unit: "month", step: 1, format: "%F, %Y"},
{unit: "day", step: 1, format: "%j, %D"}
];
gantt.init("gantt_here");
gantt.config.scales = [
{unit: "day", step: 1, format: "%j, %D"}
];
gantt.render();
You can use the batchUpdate method to update multiple tasks/links at once with a single re-rendering instead of making multiple updates with multiple re-renderings.