Skip to content

Commit 479f512

Browse files
Merge pull request #78 from mlakatkou/GS-3318
[update] render article
2 parents f4bca23 + 368217f commit 479f512

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

docs/api/method/render.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ description: "renders the whole Gantt chart"
1616

1717
~~~jsx
1818
gantt.config.scales = [
19-
{unit: "month", step: 1, format: "%F, %Y"},
20-
{unit: "day", step: 1, format: "%j, %D"}
19+
{ unit: "month", step: 1, format: "%F, %Y" },
20+
{ unit: "day", step: 1, format: "%j, %D" }
2121
];
2222
gantt.init("gantt_here");
23-
23+
2424
gantt.config.scales = [
25-
{unit: "day", step: 1, format: "%j, %D"}
25+
{ unit: "day", step: 1, format: "%j, %D" }
2626
];
2727
gantt.render();
2828
~~~
@@ -32,8 +32,7 @@ gantt.render();
3232

3333
### Details
3434

35-
You can use the [batchUpdate](api/method/batchupdate.md) method to update multiple tasks/links at once with a single re-rendering instead of making multiple updates with multiple re-renderings.
35+
You can use the [`batchUpdate()`](api/method/batchupdate.md) method to update multiple tasks and links at once with a single re-rendering instead of making multiple updates with multiple re-renderings.
3636

3737
### Related Guides
3838
- [Dynamic Change of Scale Settings](guides/dynamic-scale.md)
39-

0 commit comments

Comments
 (0)