Skip to Content
Menu
This question has been flagged
1 Reply
2172 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
3865
1
Dec 23
3709
1
Jul 22
4275
0
Mar 17
3092
0
Oct 24
1245