Take or leave this one for the 3.10.7. Not sure how to QA the time axis
labeling,
really needs visual inspection. I've tested it on short archives and also
archives
spanning more than a month with a variety of update intervals, visible points
and
resize events.
Changes committed to git://pcp.io/markgw/pcp/pcp.git master
commit e845faa250562fa493612731e756ff408200ff69
Author: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Tue Sep 15 12:59:43 2015 +1000
pmchart - improve time axis labeling
Improve the time axis labels in pmchart by including the date under each
time label when the visible chart interval (delta * visible points) exceeds
6 hours, and also at midnight. This improves the time axis labeling for
archives spanning multiple days or longer. Also tweak the major ticks
calculation to avoid scrunched up time axis labels after a resize event,
or a change to the visible points or the update interval.
modified: src/pmchart/statusbar.h
modified: src/pmchart/timeaxis.cpp
modified: src/pmchart/timeaxis.h
|