Skip to Content
Menu
This question has been flagged
1 Reply
1963 Views

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
Discard
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
Discard
Related Posts Replies Views Activity
2
Aug 24
3577
1
Dec 23
3158
1
Jul 22
3989
0
Mar 17
2937
0
Oct 24
946