Plot Cosmetics Update

Update to a number of plots to align with
the flatter, less cluttered chart style
used elsewhere (Ride, Histogram, CP et al).

Changes made are purely cosmetic and apply
to:

* Aerolab
* HrPw
* Realtime, ErgFile
* Weekly Summary
This commit is contained in:
Mark Liversedge
2011-08-26 19:22:04 +01:00
parent 841f3ba128
commit a0d6689fb0
8 changed files with 39 additions and 5 deletions

View File

@@ -24,6 +24,7 @@
#include <assert.h>
#include <qwt_plot_curve.h>
#include <qwt_plot_canvas.h>
#include <qwt_plot_grid.h>
#include <qwt_plot_marker.h>
#include <qwt_text.h>
@@ -36,7 +37,8 @@ static double inline max(double a, double b) { if (a > b) return a; else return
SmallPlot::SmallPlot(QWidget *parent) : QwtPlot(parent), d_mrk(NULL), smooth(30)
{
setCanvasBackground(GColor(CRIDEPLOTBACKGROUND));
setCanvasBackground(GColor(CPLOTBACKGROUND));
canvas()->setFrameStyle(QFrame::NoFrame);
setXTitle();