我想知道是否可以绘制甘特图设置属性为"持续时间"而不是提供开始和结束日期。
例如:目前我正在绘制这样的甘特图:
{name: 'Task 1', color: '#9FC5F8', from: new Date(2016, 0, 12, 9, 0, 0), to: new Date(2016, 0, 14, 17, 0, 0),
progress: {percent: 34, color: '#3C8CF8'}, movable: false}
但是我想这样画:
{name: 'Task 1', color: '#9FC5F8', **duration: "90"**,
progress: {percent: 34, color: '#3C8CF8'}, movable: false}
我希望我所要求的是可能的! 最好的问候,