Skip to content

Commit ed44fee

Browse files
author
g_j_m
committedJul 9, 2006
Fix for ticket #174 (graduated colours for vectors in legend were
missing the upper value of the range) git-svn-id: http://svn.osgeo.org/qgis/trunk@5575 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 6538908 commit ed44fee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/composer/qgscomposervectorlegend.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,8 @@ QRect QgsComposerVectorLegend::render ( QPainter *p )
306306
itemLabels[icnt] = sym->label();
307307
} else {
308308
itemLabels[icnt] = sym->lowerValue();
309+
if (sym->upperValue().length() > 0)
310+
itemLabels[icnt] += " - " + sym->upperValue();
309311
}
310312
}
311313

0 commit comments

Comments
 (0)
Please sign in to comment.