[et-mgmt-tools] [PATCH 8/9]: virt-manager: color sparkline for rx/tx, read/write

Guido Günther agx at sigxcpu.org
Tue Oct 7 13:16:01 UTC 2008


On Mon, Oct 06, 2008 at 12:04:27PM +0100, Daniel P. Berrange wrote:
> On Sat, Oct 04, 2008 at 10:29:22PM +0200, Guido G?nther wrote:
> > Color the rx and read sparclines red, the tx and write sparcline green.
> 
> Using pure red + green with same overall colour intensity isn't good
> for color-blindness, particularly since we're using a gray background
Thought so, but I hoped to delay this until we can make the color of the
graphs configurable.

> > +        self.disk_io_graph.set_property("rgb", [1.0, 0.0, 0.0,
> > +                                                0.0, 1.0, 0.0])
> 
> It'll take a little playing around to get a good colour pair which
> works on a gray background, and is also color anomoly-safe. There's
> a really neat DHTML webpage for just this purpose though
> 
>    http://www.colorjack.com/sphere/
> 
> I'd pick 'Complementary' or one of the 'Split Complementary' variants
> and then drag around the dots till you find a pair of suitable colors,
> which also look reasonably distinctive when you select the various
> color anomologies.
Nice tool. Updated patch attached. 
 -- Guido
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 08_color_graph.patch
Type: text/x-diff
Size: 5123 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20081007/2c0b87bc/attachment.bin>


More information about the et-mgmt-tools mailing list