Colours in Gantt Chart

Hi everyone !!

I want to fill the colors in the highlighted blocks (blue colour), how can i do that?

Can anyone suggest me some ways to do this ??

Hello,

for todo doctype there is a field color, where we can add color

@kolate_sambhaji Thank you!!

But i already applied colour to the bars. Now i want to apply background colour to the highlighted blocks (with blue colour).

you have to use jQuery for that

@Kiranmai_M

$('rect.grid-row')
    .eq(1) // 0-based index; 1 = second row
    .attr('transform', 'translate(0)')
    .css('fill', '#b31212'); // apply color only to the second row

@Sudhanshu Thanks for your reply, but i dont want to highlight the entire rows.
I want to highlight the specific blocks i.e., like in the screenshot i have shared in my first post.

if that block have any div class then you can highlight it otherwise you can’t

@Sudhanshu Yes :sweat_smile: There is no div class. Thats why i posted here.