[Qgis-user] Using data defined attributes to colour a shapefile gives an all black legend

Damien Stephens Damien.Stephens at sandfire.com.au
Wed Mar 18 20:50:37 PDT 2015


HI guys.
I have stored the colour information for polygons in three columns in a shapefile (Red,Green and Blue).
I then used the data defined attributes in the  symbol dialogue box to set the colours:
[cid:image001.png at 01D06239.F3FC98E0]

This works a charm except that my legend for the layer now has all of the colours as black, which kind of defeats the purpose of colourising the map in the first place.

Any ideas for a workaround to get the actual colours into the legend?
I am sure it is something simple that I am missing.
Thanks
Damien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150319/43cc5311/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 34498 bytes
Desc: image001.png
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150319/43cc5311/attachment.png>


More information about the Qgis-user mailing list