Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
1911 Prikazi

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
Opusti
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
avg. 24
3517
1
dec. 23
3067
1
jul. 22
3934
0
mar. 17
2885
0
okt. 24
928