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: docs/GGanttChart.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ The main component of Vue Ganttastic. Represents an entire chart and is meant to
8
8
|`precision`| string? |`"hour"`| Display precision of the time-axis. Possible values: `hour`, `day` and `month`. |
9
9
| `bar-start` | string | | Name of the property in bar objects that represents the start date.
10
10
| `bar-end` | string | | Name of the property in bar objects that represents the end date .
11
-
| `date-format` | string? | `"YYYY-MM-DD HH:mm"` | Datetime string format of `chart-start`, `chart-end` and the values of the `bar-start`, `bar-end` properties in bar objects. See [Day.js format tokens](https://day.js.org/docs/en/parse/string-format).
11
+
| `date-format` | string\| false | `"YYYY-MM-DD HH:mm"` | Datetime string format of `chart-start`, `chart-end` and the values of the `bar-start`, `bar-end` properties in bar objects. See [Day.js format tokens](https://day.js.org/docs/en/parse/string-format). If the aforementioned properties are native JavaScript [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) objects in your use case, pass `false`.
12
12
| `width` | string? | `"100%"` | Width of the chart (e.g. `80%` or `800px`)
13
13
| `hide-timeaxis` | boolean? | `false` | Toggle visibility of the time axis.
14
14
| `color-scheme` | string \| ColorScheme | `"default"` | Color scheme (theme) of the chart. Either use the name of one of the predefined schemes or pass a color-scheme-object of your own. See [color schemes](#color-schemes).
0 commit comments