GanttElastic甘特图,能不能单行有多个数据
用的GanttElastic甘特图插件,想在一行上显示多个任务,下面是正常写法一行一个任务。
顺着常规操作,我想在一行实现多个任务,是不是把start&duration换成数组一一对应就好了于是我试了,但不行。文档找了半天没找,有没有朋友用过此插件,或者有详细文档的,告知一下,感谢
tasks = [  {
    id: 1,
    label: '卢本伟',
    number: '',
    spe: '',
    start: date(-24 * 8), // 开始时间
    duration: 1 * 24 * 60 * 60 * 1000, // 持续多久
    progress: 100,
    type: 'project'
  }
]
// 
{
    ...
    start: [date(24 * 5), date(-24 * 8)],
    duration: [1 * 24 * 60 * 60 * 1000, 8 * 24 * 60 * 60 * 1000]
}
以上是 GanttElastic甘特图,能不能单行有多个数据 的全部内容, 来源链接: utcz.com/p/937491.html








