甘特图 API方法getTaskHeight页面内容getTaskHeight Description 返回任务的可见高度 getTaskHeight: (id?: string | number) => numberParameters task - (optional) string | number - 该任务的 ID Returns height - (number) - 指定任务的高度,若未指定 id 参数,则为所有任务的高度 Exampleconst height = gantt.getTaskHeight(); // -> 30Need 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.