Skip to Content
Menú
This question has been flagged
1 Respondre
1913 Vistes

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
Descartar
Best Answer

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
Descartar
Related Posts Respostes Vistes Activitat
2
d’ag. 24
3517
1
de des. 23
3067
1
de jul. 22
3935
0
de març 17
2887
0
d’oct. 24
928