Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
2031 Vizualizări

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.

Imagine profil
Abandonează
Cel mai bun răspuns

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)"

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
aug. 24
3643
1
dec. 23
3246
1
iul. 22
4030
0
mar. 17
2982
0
oct. 24
1007