mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4906 Ensemble Statistics Legend Icons : Fix missing symbol text
This commit is contained in:
@@ -133,6 +133,15 @@ RiuQwtSymbol::RiuQwtSymbol( PointSymbolEnum riuStyle, const QString& label, Labe
|
|||||||
void RiuQwtSymbol::renderSymbols( QPainter* painter, const QPointF* points, int numPoints ) const
|
void RiuQwtSymbol::renderSymbols( QPainter* painter, const QPointF* points, int numPoints ) const
|
||||||
{
|
{
|
||||||
QwtSymbol::renderSymbols( painter, points, numPoints );
|
QwtSymbol::renderSymbols( painter, points, numPoints );
|
||||||
|
|
||||||
|
if ( !m_globalLabel.isEmpty() )
|
||||||
|
{
|
||||||
|
for ( int i = 0; i < numPoints; i++ )
|
||||||
|
{
|
||||||
|
auto position = points[i];
|
||||||
|
renderSymbolLabel( painter, position, m_globalLabel );
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user