Open gazambuja opened 5 years ago
So, the simplest way I find to set color of rows was add this to the config section:
timeTable: {
renderer: [{
background: {
values : [ 'parent', 'child' ],
palette : ["#1f78b4", "#33a02c"],
getValue: 'row.rowtype',
}}
]}
And in my json, to every node add the field
rowtype: "parent"
and
rowtype: "child"
when was a child node.
How to change the color of some activity? Im try to look at palettes, but seems hard just to change the color of some bars. Exist another way?