Fix for isolate axis hides labels when using bars #4705 (#4741)

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:
Paul Johnson
2025-12-07 20:50:41 +00:00
committed by GitHub
parent 6b7e7555df
commit 79ce8735fe

View File

@@ -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);