Bug #23593 Graph line colours could do with clean up
Submitted: 24 Oct 2006 20:05 Modified: 6 Aug 2007 12:27
Reporter: Mark Leith Email Updates:
Status: Closed Impact on me:
Category:MySQL Enterprise Monitor: Web Severity:S4 (Feature request)
Version:1.0.0 OS:Any (All)
Assigned to: Mike Lischke CPU Architecture:Any
Tags: mer usability, mer101

[24 Oct 2006 20:05] Mark Leith
Currently the graphs use the 16 basic Windows colours for the graph lines/legends. We could make these look a lot better by choosing a better progressive list from the 256 web safe colours instead. 

Currently we use this list:

// http://www.pagetutor.com/pagetutor/makapage/pics/net216-2.gif
// The closest to the 16 Windows colors, but the badly
// visible ones.
new Color(0x00, 0x99, 0x00), // darkgreen
Color.CYAN, new Color(0x99, 0x00, 0x00), // darkred
new Color(0x99, 0x00, 0x99), // darklila
new Color(0x99, 0x99, 0x00), // kinda lightbrown
new Color(0x99, 0x99, 0x99), // darkgrey
Color.BLUE, Color.GREEN, new Color(0x00, 0xFF, 0xFF), // kinda
// lightcyan
Color.RED, new Color(0xFF, 0x00, 0xFF), // lila
Color.BLACK, new Color(0x00, 0x00, 0x99), // darkblue

How to repeat:
Look at the graphs :)

Suggested fix:
Define a better progressive list of colours to use within the graphs. 

These are defined within:

[4 May 2007 19:21] Mark Leith
Committed to 1.1.1 within revision 5386
[6 Aug 2007 12:27] Mark Leith
Closing, done ages ago