Colours of legend wrong for polygons coloured/categorised with column value #24984
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Map and Legend
Related to map or legend rendering
Author Name: Immo Blecher (@immoblecher)
Original Redmine Issue: 17085
Affected QGIS version: 2.18.11
Redmine category:map_legend
Assignee: Immo Blecher
In a polygon layer with a colour column in which HTML colours are saved and another column used to categorise the polygons with a proper code and description a legend is created with the correct codes/descriptions but incorrect colours (they are random), although the polygons are correctly coloured according to the column. If colour column is used to categorise then the legend is correct with same colours as the polygons, but this is not helpful as same colours are used for different but related codes/descriptions. The screenshot shows code C-Pd on the map as dark grey but none of the C-Pd colours in the legend are even close. Tried in previous 2.16 and 18 versions with same problem.
The text was updated successfully, but these errors were encountered: