gantt icon indicating copy to clipboard operation
gantt copied to clipboard

different color for project and tasks

Open ramstein74 opened this issue 5 years ago • 1 comments

Hello how can i have a color for a main task (a project) and different color for all dependent tasks ??? regards António

ramstein74 avatar Sep 09 '19 15:09 ramstein74

First,define custom class such as: .gantt .bar-maintask .bar { fill: SeaGreen ; }

Second, in the task add the custom_class,such as: { start: '2018-10-08', end: '2018-10-10', name: 'Deploy', id: "Task 4", progress: 0, dependencies: 'Task 2', custom_class: 'bar-maintask' }

leaf188 avatar Aug 24 '21 08:08 leaf188