Bug report #17085

Colours of legend wrong for polygons coloured/categorised with column value

Added by Immo Blecher over 7 years ago. Updated over 7 years ago.

Status:Closed
Priority:Normal
Assignee:Immo Blecher
Category:Map Legend
Affected QGIS version:2.18.11 Regression?:No
Operating System:Linux and Windows Easy fix?:No
Pull Request or Patch supplied:No Resolution:duplicate
Crashes QGIS or corrupts data:No Copied to github as #:24984

Description

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.

Screenshot from 2017-08-28 13-58-49.png (88.9 KB) Immo Blecher, 2017-08-28 02:02 PM

History

#1 Updated by Giovanni Manghi over 7 years ago

  • Resolution set to duplicate
  • Status changed from Open to Closed

Also available in: Atom PDF