I just released v0.3 of kmchart on SourceForge ... download from here
http://sourceforge.net/projects/pcpaddons
This is still using Qt 3.3 (my experience transitioning to Qt 4.0 was
pretty much a disaster and a distraction, so I've shelved that for now).
There is quite a lot of progress from 0.2 to 0.3 as the CHANGELOG below
shows.
If you manage to install it,
kmchart -c /dev/null
fakes out the view loader and gives and idea what the CPU view will look
like in 0.4 (which will appear soon).
Have fun.
kmchart 0.1 [mailed out 2 Jan 2006]
- initial version
kmchart 0.2 [mailed out 4 Jan 2006]
- added plot legend handling (a la the Qwt bode example with some
enhancements)
- fix Edit->Chart Title and Legend so that it really controls the
show/hide function of the plot Legend
- rework Graph::addPlot() to get metric spec into the Graph class
- remove the last vestiages of the global currentChart struct, moving
the associated data into the Graph class
- make changes in Edit->Y Axis Scaling stick after dialog done
- ensure consistent handling of Chart Style changes
- improve resizing of main window after a new Chart is added
kmchart 0.3
- move Qwt base from 4.2 to 5.0 beta (20050831 at this stage)
- add to current and create new chart both functional in MetricSelection
dialog
- metrics really being fetched using libpcp_pmc methods ... real data
values being used for plots
- complete overhaul for the APIs to the Chart and Plot classes
- fixed y-axis scaling dialog behaviour
- Edit->Colors ... implemented
- plot data arrays allocated dynamically (in preparation for *History
changes on command line and via UI)
- common x-axis time data across all charts and single timer thread
so all charts updated at the same time
- initial support for left-mouse selection of "current" chart in a
multi-chart configuration ... and some visible feedback (title and
y-axis label appear in red)
- update interval specified via -t on command line
- initial view loading support through -c config on command line (hack
to load hard-coded CPU view, i.e. no view config file parser,
at the moment to demonstrate completeness of API into the Chart
and Plot classes
- initial #-cycle support for default color rotation for plots within
a chart
- pale blue rather than grey for the plot canvas background
- rudimentary chart resizing with outer window resizing
- full support for Stack, Util, Area and Line plots, including changing
style on the fly via the UI
- add support for Legend labels as alternative to the default metric
specification being used (enhancement over pmchart)
- make MetricSelection dialog modeless
- added File->Print support
- added Help->About support
- graph Title and Legend manipulation in the UI works now
- changing host/archive source in MetricSelection does not keep adding
the same hosts/archives to the selection list ... and the PMNS
transition now appears to be correct
- instance domains for archive contexts are loaded using
pmGetIndomArchive() rather than pmGetIndom() to remove any temporal
dependency in the possible instances
|