[drraw-users] More Colors? Auto detect DSs?

Joel Krauska jkrauska at gmail.com
Wed Mar 7 09:04:46 PST 2007


Christophe Kalt wrote:
> | 1. How can I add some more colors?
> | The defaults are nice, but a little harsh.
> | If this is modular, I'd be happy to add a few in, I just need a pointer.
> 
> i actually have a patch from David Nolan for this, i need to
> put out a new release..  tonight?

So I found the simple %colors definition below the "NO NO NO don't 
change any code below here", added a few, and it worked great... :)

Maybe import the color list from the conf file?

> | 2. How about making an auto drop-down of DS;s?
> | Yes, I can RRDinfo an rrd on the page, but then I have to type in the
> | DS name I want to use.  Couldn't a list of available DS's for a given
> | rrd be dropped in?
> 
> I'm not quite sure how you see this working.
> Do you want the "Available Database Files" list to include
> an entry for each DS for each file?
> A dropped down list would require an extra step, no?

Yes.
AJAX? :)
There are lots of sexy things you could do with drraw if you wanted to 
spend a few weeks using AJAX. (populate DS lists, immediately show graph 
updates, etc..)
At the expense of sanity and perhaps server load.

Anyway...
I found my browser cache and the persistence of the text input boxes 
made this process much easier.



More information about the drraw-users mailing list