mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 16:39:57 +00:00
Make Analysis view configurable
You can now configure the Analysis view to drag and drop charts on the page and lay them out etc. A default setup displays basic data such as ride summary, histograms and ride plot. MainWindow still needs a bit of a tidy-up as the basic code has been edited and re-edited by a cast of thousands and its a bit of a mess as a result.
This commit is contained in:
@@ -357,7 +357,8 @@ AllPlotWindow::AllPlotWindow(MainWindow *mainWindow) :
|
||||
void
|
||||
AllPlotWindow::configChanged()
|
||||
{
|
||||
fullPlot->setCanvasBackground(GColor(CPLOTTHUMBNAIL));
|
||||
//We now use the window background color
|
||||
//fullPlot->setCanvasBackground(GColor(CPLOTTHUMBNAIL));
|
||||
|
||||
// we're going to replot, but only if we're active
|
||||
// and all the other guff
|
||||
@@ -414,7 +415,8 @@ AllPlotWindow::redrawFullPlot()
|
||||
|
||||
// hide the usual plot decorations etc
|
||||
fullPlot->showPower(1);
|
||||
fullPlot->setCanvasBackground(GColor(CPLOTTHUMBNAIL));
|
||||
//We now use the window background color
|
||||
//fullPlot->setCanvasBackground(GColor(CPLOTTHUMBNAIL));
|
||||
fullPlot->setCanvasLineWidth(0);
|
||||
fullPlot->grid->enableY(false);
|
||||
fullPlot->enableAxis(QwtPlot::yLeft, false);
|
||||
|
||||
Reference in New Issue
Block a user