Open Andrei-Pozolotin opened 4 years ago
I looked at this a little bit for the release I just published but the way in which the flot graph is being generated it's going to take a little while to see if it's even possible to do this. There seems to be a good number of forced color schemes from the core OctoPrint code as it's drawing the lines themselves.
Just editing the file manually is likely the best way to do it while retaining your sanity. I just added my own hex values to the beginning of the list at line 120 and replaced the word "blue" with a hex value at line 164, and the word "black" with a hex value for the chamber temp at line 172 in the file "~\oprint\lib\python3.7\site-packages\octoprint\static\js\app\viewmodels\temperature.js" Then just restart Octoprint. Maybe there's a simple way to override the variables array in the TemperatureViewModel but I'm too tired to think any deeper on this at the moment.
it seems currently there is no plugin which can provide custom temperature graph line color
case in hand: in Android/TouchUI chamber temperature is black-line-on-black-background, and hence not usable