事件线颜色跟随字段
说明
可读写
事件线颜色跟随字段,值为字段Id。
返回值
String
浏览器环境示例
javascript
async function example() {
await instance.ready();
const app = instance.Application;
const ganttView = await app.Sheets(1).Views(1);
console.log(ganttView.TimelineColorFollowField);
ganttView.TimelineColorFollowField = 'E';
}
脚本编辑器 示例
javascript
function main() {
const ganttView = Application.Sheets(1).Views(1);
console.log(ganttView.TimelineColorFollowField);
ganttView.TimelineColorFollowField = 'E';
}
main();