mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
The pen wasn't set for bar charts, and the hack relies upon the pen's color value to set the visibility of the labels. Fixes #4705
This commit is contained in:
@@ -1088,7 +1088,7 @@ LTMPlot::setData(LTMSettings *set)
|
||||
linearGradient.setColorAt(1.0, brushColor);
|
||||
linearGradient.setSpread(QGradient::PadSpread);
|
||||
current->setBrush(linearGradient);
|
||||
current->setPen(QPen(Qt::NoPen));
|
||||
current->setPen(QPen(metricDetail.penColor));
|
||||
current->setCurveAttribute(QwtPlotCurve::Inverted, true);
|
||||
|
||||
current->setSymbol(NULL);
|
||||
|
||||
Reference in New Issue
Block a user