Skip to Content
मेन्यू
This question has been flagged
1 Reply
1928 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
अग॰ 24
3537
1
दिस॰ 23
3105
1
जुल॰ 22
3955
0
मार्च 17
2903
0
अक्तू॰ 24
939