Started looking at adding real-time graphing to WREC. The most obvious choices appear to be the gtkplot component of the GtkExtra library, or Guppi. Guppi development seems to be stalled, and I didn’t see any example code or documentation describing how to do the sort of stuff I want. (I noticed that both Guppi and gtkplot are claimed by their web sites to be used by GnuCash; does it really use both?)
Anyhow, I started messing around with gtkplot, and it seems quite easy to use. The testrealtime demo is a good starting point.
I need to decide in what format to log the raw data. Preferrably something that can easily be imported into a spreadsheet or graphing program (non-realtime). XML is attractive, but is there any suitable “generic” DTD? I don’t want to code for a DTD used as a native data format for a specific spreadsheet like Gnumeric, because it is overly complicated and subject to change.
Maybe just a plain ol’ CSV file.