Perspective Time Series Chart Colors

The docs are your friend:
https://docs.inductiveautomation.com/display/DOC81/Perspective+-+Time+Series+Chart

Also this post on the forms:

You can use a defaultStyles.colorScheme (which I believe is a string provided by that page you linked, ex: PuBu, GnBu, RdPu, etc.) I have never used colorScheme so I am not 100% sure.

Or populate defaultStyles.colors array with whatever colors you want (probably the easiest as they're all in one place).

Or even populate them on a specific trend:
this.props.plots[0].trends[0].columns[0].color

Your indexes will be different depending which trend you're trying to target.

3 Likes