Premium support for our pure JavaScript UI components


Post by rakshith.snps »

Hi team, Info request.
I want to change the look(shape) of parent task bars (blue bars) to that of leaf task bars in gantt chart.
How can I achieve this. Is there any documentation that lets me do this ?

The reason being, When I try to render text inside the parent tasks. The text is not properly visible because of its look and shape.

example.png
example.png (93 KiB) Viewed 69 times

Post by tasnim »

Hi,

This shape is generated with clip path in CSS
You can generate clip-path from this website https://unused-css.com/tools/clip-path-generator
and paste the clip path code inside this CSS rule

.b-gantt-task-parent:not(.b-milestone-wrap) .b-gantt-task {
}

Hope this helps.

Best regards,
Tasnim


Post Reply