跳到主要内容

setSizes

Description

调整甘特图大小

setSizes: () => void

Example

gantt.setSizes();

Details

该方法不接受任何参数——它始终将甘特图调整为与图表的 HTML 容器同一大小。

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.