1r0b1n0 / OctoPrint-Tempsgraph

Interactive temperature graph for octoprint
MIT License
18 stars 12 forks source link

How to change the colors? #6

Closed Fiiti closed 6 years ago

Fiiti commented 7 years ago

I wonder, how I can change easy the colors of the graphs? Wouldn't that be a nice feature?

Regards, Fiiti

Birkbjo commented 6 years ago

Would be interested in this as well. @1r0b1n0 are you interested if I do a pull request for such a feature?

I have created the Themeify plugin, and users are interested in compatibility with your plugin. There are some conflicts as my plugin loads after yours, so your method of grabbing the current background color will be done before my plugin has finished applying the styles. I could hack something together to prevent this, however the legends are pretty hard to see on dark backgrounds. Would be nice to change the legend colors to increase the visibility for dark backgrounds.

1r0b1n0 commented 6 years ago

Hi, I'd be happy to accept pull requests to make the plugin more customizable !

1r0b1n0 commented 6 years ago

@Birkbjo changes fixed this issue