コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
1908 ビュー

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.

アバター
破棄
最善の回答

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)"

アバター
破棄
関連投稿 返信 ビュー 活動
2
8月 24
3516
1
12月 23
3066
1
7月 22
3931
0
3月 17
2885
0
10月 24
926