Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
1892 Visualizações

Hello i want to change the color of a gantt chart depending on state like:

gray: cancelled

blue: draft

green: done

PS: I've already set the "color" attribute to "state" but it gives me random color for each state.

Thank you.

Avatar
Cancelar
Melhor resposta

you can use this
decoration-danger="json_popover and 'text-danger' in json_popover" decoration-success="state == 'done'" decoration-warning="state == 'cancel' or (json_popover and 'text-warning' in json_popover)"

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
ago. 24
3509
1
dez. 23
3060
1
jul. 22
3928
0
mar. 17
2879
0
out. 24
923