You can use our dataparse() method to dynamically determine color value of bars at parse time. That event is fired when the data is ready to be parsed by ZingChart. So I loop through and add color based on the previous value dynamically. I left the first bar a neutral color because there is no previous value to compare it to.



dataparse Event
styling nodes

Did this answer your question?