Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
1909 Представления

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
авг. 24
3516
1
дек. 23
3066
1
июл. 22
3931
0
мар. 17
2885
0
окт. 24
926