Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2198 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
srp 24
3882
1
pro 23
3720
1
čvc 22
4279
0
bře 17
3116
0
říj 24
1250