Closed richpaul1 closed 5 years ago
Hi,
Can someone provide an example of setting the color of the segment based on the category, please?
e.g. if I want category A to be green and B to always be red.
Figured it out
this.timeLineChart.zColorScale(d3.scaleOrdinal().domain(["A","B","C","D","E"]).range(['green', 'yellow', 'orange','red','purple']));
Hi,
Can someone provide an example of setting the color of the segment based on the category, please?
e.g. if I want category A to be green and B to always be red.