You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: data/api/gantt_baselines_config.md
+19-10Lines changed: 19 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,18 +20,27 @@ gantt.init("gantt_here");
20
20
@descr:
21
21
This config defines how baselines are handled and displayed in the Gantt chart. It can be set as an object to customize the display or as a boolean to enable or disable the feature. The object configuration contains the following properties:
22
22
23
-
-**datastore** (*string*) - the name of the datastore used for storing baseline entries. For related functionality, see the `getDatastore` method.
24
-
-**render_mode** (*boolean | string*) - determines how baselines are displayed:
25
-
-`false` - baselines are not shown.
26
-
-`"taskRow"` - baselines are displayed in the same row with the task bar.
27
-
-`"separateRow"` - baselines are shown in a separate subrow, expanding the task row height.
28
-
-`"individualRow"` - each baseline is displayed in its own subrow beneath the task.
29
-
-**dataprocessor_baselines** (*boolean*) - specifies whether baseline updates trigger the DataProcessor as individual entries.
30
-
-**row_height** (*number*) - defines the height of the subrow for baselines, applicable only when `render_mode` is set to `"separateRow"` or `"individualRow"`.
31
-
-**bar_height** (*number*) - sets the height of the baseline bar.
23
+
- <spanclass=subproperty>**datastore**</span> - (*string*) - the name of the datastore used for storing baseline entries. For related functionality,
24
+
see the `getDatastore` method.
25
+
- <spanclass=subproperty>**render_mode**</span> - (*boolean | string*) - determines how baselines are displayed:
26
+
-**_false_** - baselines are not shown.
27
+
-**_"taskRow"_** - baselines are displayed in the same row with the task bar.
28
+
-**_"separateRow"_** - baselines are shown in a separate subrow, expanding the task row height.
29
+
-**_"individualRow"_** - each baseline is displayed in its own subrow beneath the task.
30
+
- <spanclass=subproperty>**dataprocessor_baselines**</span> - (*boolean*) - specifies whether baseline updates trigger the DataProcessor as individual entries.
31
+
- <spanclass=subproperty>**row_height** - (*number*)</span> - defines the height of the subrow for baselines, applicable only when `render_mode`
32
+
is set to `"separateRow"` or `"individualRow"`.
33
+
- <spanclass=subproperty>**bar_height**</span> - (*number*) - sets the height of the baseline bar.
0 commit comments