Change color of the schema

Hello,

I’m developing a plugin for a panel in time series format, how can I set up the color change for the graph ?

Thanks’ in advance
Nicolas