Open designscripting opened 4 years ago
I'm interested in knowing this as well. I have 3 data labels being used in different charts (On Time, Late, Cancelled). It would be nice to know I can assign Color 1 => OnTime, Color 2 => Late, and Color 3 => Cancelled consistently.
Hi guys, any solution found for this?
Is it possible to add different color for each series. using customColors? for
customColors() { result = JSON.parse('[{"name":"Used","value":"#e8c728"},{"name":"Used","value":"#FF0000"}]'); return result;
}
data: [ { "name": "Lineage Transformations", "series": [ { "name": "Limit", "value": 0 }, { "name": "Used", "value": 0 } ] }, { "name": "Data sources", "series": [ { "name": "Limit", "value": 10 }, { "name": "Used", "value": 0 } ] } ]
Sample: https://stackblitz.com/edit/swimlane-grouped-vertical-bar-chart-cn1o4k