weaveworks / grafanalib

Python library for building Grafana dashboards
Apache License 2.0
1.86k stars 309 forks source link

Add color support in Stat(panel) #602

Closed joewangprc closed 1 year ago

joewangprc commented 1 year ago

What does this do?

Currently Stat(panel) doesn't support color option, so it still always be grey color when using Stat(panel)

Why is it a good idea?

Have a choice of color improve the readable of panel

Context

Color option is simpler than thresholds, in the case of no need to define thresholds

Questions

not sure about the combination, in my case, I always use together with colorMode="background" and graphMode="none"