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

Time series chart , i add two tag in chart ,
how to change differance color in chart
as picture below

I think you need to set the style in the props.plots.trends.columns[x] object. The key field value needs to match the name of your series name, e.g. temp

Dear sir,

i need change color fo line graph in perspective dashboard like this.
how to set parameter?

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.

1 Like

thank you very much.