klboke commented on issue #13109:
URL: 
https://github.com/apache/dolphinscheduler/issues/13109#issuecomment-1372058118

   
   > Sorry to say that I couldn't reproduce the issue. Could you give me more 
details about the issue?
   
   @calvinjiang  I also had a problem with Gantt not displaying, the version is 
v3.1.2 , The key code is as follows:
   ```ts
       props.seriesData.forEach(function (task, index) {
         const start = Math.floor(task.startDate[0] / 1000) * 1000
         const end = Math.floor(task.endDate[0] / 1000) * 1000
         minTime = minTime < start ? minTime : start
         maxTime = maxTime > end ? maxTime : end
         // debug print
         console.log(data)
         console.log(task)
         data[task.status].push({
           name: task.name,
           value: [index, start, end, end - start],
           itemStyle: {
             color: state[task.status as ITaskState].color
           }
         })
       })
   
   ```
   <img width="1439" alt="image" 
src="https://user-images.githubusercontent.com/18591662/210762260-cc44f417-c76b-4348-bc58-39a883bcff59.png";>
   <img width="1439" alt="image" 
src="https://user-images.githubusercontent.com/18591662/210762435-ab7b2e43-b938-49b1-a12b-674fd1339760.png";>
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to