mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Merge pull request #4910 from OPM/ensemble-legend-icon-and-text
Improve ensemble statistics legend icon and 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
|
||||
{
|
||||
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