<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Good Morning Everyone,</p>
<p>I have a geology layer with a few columns, including the
chronostratigraphic symbol, the rock type description and,
importantly, a colour column (String type). The values stored in
the colour column are the HTML hex values for the colour according
to the 1 : 1 000 000 simplified geological map of South Africa.</p>
<p>When I open the layer and select the colour column for colouring
the lithological units it works beautifully, but I do not get a
legend for the composer. But if I set the Properties|Style to
Categorized and then again select the colour from the Colour
column in the table I also get the same nicely coloured map
according to the colour column, an a Legend. But the Legend is
wrong...it chooses random colours! What am I doing wrong? Is there
a way to get a correct legend, also only showing the units which
are actually on the map in the composer. I can set the colours
manually to match the value in the colour field but that sort of
defeats the purpose.</p>
<p>Thanks for your help so long,</p>
<p>Immo<br>
</p>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title></title>
<div class="moz-signature">
<div class="moz-signature">
<p style="background: transparent; border: none; padding: 0in"><strong><font
color="#000000">Immo F. Blecher</font></strong><strong><font
color="#808080"><br>
Street: </font></strong><em><font color="#808080"> 52
Lynedoch Eco Village, Lynedoch, 7603, South Africa<br>
</font></em><em><font color="#808080"><span
style="font-style: normal"><b>Postal:</b></span></font></em><em><font
color="#808080"> 52 Lynedoch Eco Village, Lynedoch,
7603, South Africa<br>
</font></em><em><font color="#808080"><span
style="font-style: normal"><b>Cell:</b></span></font></em><em><font
color="#000000"> </font></em><font color="#808080">+27
83 272 6791 </font><font color="#ff6600">|</font><font
color="#666666"> </font><font color="#666666"><b>Fax: </b></font><font
color="#808080">+27 86 7363302 </font><font
color="#808080"><b>Email:</b></font><font color="#808080">
</font><a href="mailto:immo@blecher.co.za"><font
color="#0000ff"><u>immo@blecher.co.za</u></font></a> <font
color="#ff6600">| </font><a
href="mailto:immob19@gmail.com"><font color="#0000ff"><u>immob19@gmail.com</u></font></a><font
color="#0000ff"><span style="text-decoration: none"> </span></font><font
color="#ff6600"><span style="text-decoration: none">| </span></font><font
color="#0000ff"><u><a href="mailto:immob@mymtnmail.co.za">immob@mymtnmail.co.za</a><br>
</u></font><font color="#666666"><span
style="text-decoration: none"><b>Internet:</b></span></font><font
color="#666666"><span style="text-decoration: none"> </span></font><a
href="http://www.blecher.co.za/"><font color="#0000ff"><span
style="text-decoration: none"><u>http://www.blecher.co.za/</u></span></font></a></p>
<font face="Verdana, Arial, Helvetica, sans-serif"><font
size="1"><font color="#808080">Contact me: </font> <img
src="http://images.wisestamp.com/gtalk.png"
name="graphics2" height="16" border="0" align="BOTTOM"
width="16"> <a class="moz-txt-link-abbreviated" href="mailto:immob19@gmail.com">immob19@gmail.com</a> <img
src="http://images.wisestamp.com/skype.png"
name="graphics3" height="16" border="0" align="BOTTOM"
width="16"> immoblecher</font></font>
<div id="WISESTAMP_SIG_9425" dir="LTR">
<p style="margin-bottom: 0in; border-top: 1px solid #e5e5e5;
border-bottom: none; border-left: none; border-right:
none; padding-top: 0.02in; padding-bottom: 0in;
padding-left: 0in; padding-right: 0in"> <a
href="http://www.linkedin.com/pub/immo-blecher/30/414/b8"><img
src="http://images.wisestamp.com/apps/buttons/linkedinbutton_option_1.png"
name="graphics4" height="33" border="0" align="BOTTOM"
width="160"></a></p>
<table cellspacing="2" cellpadding="2" width="100%">
<tbody>
<tr valign="TOP">
<td style="border: none; padding: 0in" width="1%">
<p style="border-top: none; border-bottom: none;
border-left: none; border-right: 1px solid
#e5e5e5; padding-top: 0in; padding-bottom: 0in;
padding-left: 0in; padding-right: 0.05in"> <img
src="http://images.wisestamp.com/widgets/green_32.png"
name="graphics5" height="32" border="0"
align="BOTTOM" width="32"></p>
</td>
<td style="border: none; padding: 0in">
<p style="border: none; padding: 0in">Please
consider your environmental responsibility. Before
printing this e-mail message, ask yourself whether
you really need a hard copy.</p>
</td>
</tr>
</tbody>
</table>
<p style="margin-bottom: 0in; border-top: 1px solid #808080;
border-bottom: none; border-left: none; border-right:
none; padding-top: 0.02in; padding-bottom: 0in;
padding-left: 0in; padding-right: 0in"> <font
color="#808080"><font face="Verdana, Arial, Helvetica,
sans-serif"><font size="1">IMPORTANT: The contents of
this email and any attachments are confidential.
They are intended for the named recipient(s) only.
If you have received this email by mistake, please
notify the sender immediately and do not disclose
the contents to anyone or make copies thereof.</font></font></font></p>
<p style="margin-bottom: 0in"><img
src="http://p1.wisestamp.com/pixel.png?p=mozilla&v=2.9.5&t=1320849250746&u=82e4b3250c4ca423"
name="graphics6" height="2" border="0" align="BOTTOM"
width="2"></p>
</div>
</div>
</div>
</div>
</body>
</html>