mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 16:39:57 +00:00
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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user