mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 17:09:56 +00:00
Fix Ride plot zone shading for series stack
.. the setting wasn't being set/unset according to user preferences properly.
This commit is contained in:
@@ -744,6 +744,7 @@ AllPlotWindow::compareChanged()
|
||||
connect(plot->_canvasPicker, SIGNAL(pointHover(QwtPlotCurve*, int)), plot, SLOT(pointHover(QwtPlotCurve*, int)));
|
||||
// No x axis titles
|
||||
plot->bydist = fullPlot->bydist;
|
||||
plot->setShadeZones(showPower->currentIndex() == 0);
|
||||
plot->setAxisVisible(QwtPlot::xBottom, true);
|
||||
plot->enableAxis(QwtPlot::xBottom, true);
|
||||
plot->setAxisTitle(QwtPlot::xBottom,NULL);
|
||||
@@ -2350,6 +2351,7 @@ AllPlotWindow::setupSeriesStackPlots()
|
||||
_allPlot->setDataFromPlot(allPlot); // will clone all settings and data for the series
|
||||
// being plotted, only works for one series plotting
|
||||
|
||||
_allPlot->setShadeZones(showPower->currentIndex() == 0);
|
||||
first = false;
|
||||
|
||||
// add to the list
|
||||
|
||||
Reference in New Issue
Block a user