Perspective - Time Series Chart , how to change color of line chart?

The simplest way is to set the colours in the props.defaultStyles.colors, e.g.:

Alternatively, and more precisely, you can also set the colours, as I said in my previous post, in the this.props.plots[x].trends[y].columns[z] property. Using this method, you can specify what colour you want for each pen based on its pen name.

4 Likes