docs: add gantt option

This commit is contained in:
fangsmile 2024-11-18 11:47:03 +08:00
parent a40a7c0a05
commit f64661c57e
2 changed files with 48 additions and 0 deletions

View File

@ -162,3 +162,27 @@ For specific reference, see the configuration in ListTable: [Specific configurat
Pixel ratio.
Optional
## dateFormat(string)
The date format of the new schedule. The date data will be added to the date field value in the data record. The default value is 'yyyy-mm-dd'.
Not required
```
dateFormat?:
| 'yyyy-mm-dd'
| 'dd-mm-yyyy'
| 'mm/dd/yyyy'
| 'yyyy/mm/dd'
| 'dd/mm/yyyy'
| 'yyyy.mm.dd'
| 'dd.mm.yyyy'
| 'mm.dd.yyyy';
```
## underlayBackgroundColor(string)
The fill color of the canvas outside the drawing range is '#fff' by default, and it also matches the background color of the table on the left.
Not required

View File

@ -162,3 +162,27 @@
像素比率。
非必填
## dateFormat(string)
新建排期的日期格式,日期数据将被添加到数据 record 中日期字段值中,默认为'yyyy-mm-dd'。
非必填
```
dateFormat?:
| 'yyyy-mm-dd'
| 'dd-mm-yyyy'
| 'mm/dd/yyyy'
| 'yyyy/mm/dd'
| 'dd/mm/yyyy'
| 'yyyy.mm.dd'
| 'dd.mm.yyyy'
| 'mm.dd.yyyy';
```
## underlayBackgroundColor(string)
绘制范围外的 canvas 上填充的颜色,默认为'#fff',同时也适配到左侧表格的背景色。
非必填