Author: Vic Date: To: hampshire Subject: Re: [Hampshire] Graphing library for arbitrary number of datasources
> I'm wanting to create historical graphs -- most likely stacked area
> graphs -- of some things in a database. Normally I use RRD when I
> want to graph things, but RRD files have a fixed number of data
> sources when they are created and adding data sources is a bit of a
> pain. This will have new values added over time, so I don't think
> RRD is suitable.
You could make it suitable :-)
What I've done in the past is to stash the raw data away into some other
storage mechanism (e.g. a MySQL database). Then, when I want to put the
graphs together, export the data as XML and run it through rrdrestore to
create a rrd file crafted for purpose...
There are probably cleaner ways to do this, but it got me out of trouble :-)