<div dir="ltr">Hi Lene,<br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 7, 2013 at 9:09 PM, Lene Fischer <span dir="ltr"><<a href="mailto:lfi@life.ku.dk" target="_blank">lfi@life.ku.dk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div link="blue" vlink="purple" lang="EN-US">
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">
<div style>
<div>
<div>Hello </div>
<div>In Master I´m trying to set a label with the function $area. This works fine.</div>
<div>But I´m trying to use the formatting for numbers with only 1 decimal -  no succes. </div>

</div></div></div></div></blockquote><div><br></div><div>Hmm. I just tried setting the expression to $area and using the 'Formatted numbers' option for the layer: worked. I also used just an expression:<br><br>
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style="margin:0px;text-indent:0px"> format_number( $area, 3)</p><p style="margin:0px;text-indent:0px"><br></p><p style="margin:0px;text-indent:0px">and that worked too, even where the area result was a whole integer, i.e. label was 12.000. I tested with precision of '1' and both worked fine. Can you share the data, even if it is just a file containing the individual feature that is not labeling properly?<br>
</p></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div style="direction:ltr;font-size:10pt;font-family:Tahoma">
<div style><div>
<div>It works fine if I use a coloumn containing the area. <br></div></div></div></div></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US"><div style="direction:ltr;font-size:10pt;font-family:Tahoma"><div style><div><div>But this is not a solution because the $area is not dynamic in the coloum of the attribut table.</div>

<div><br>
</div>
<div>Secondly - how do I activate the functions in the Labeltoolbar -ex Move or Show/Hide</div>
</div></div></div></div></blockquote><div><br></div><div>New documentation for labeling canvas map tools is forthcoming. For now, you can reference:<br><a href="http://gis.stackexchange.com/questions/67408">http://gis.stackexchange.com/questions/67408</a><br>
<br></div><div>Regards,<br><br></div><div>Larry<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US">
<div style="direction:ltr;font-size:10pt;font-family:Tahoma"><div style><div>
<div>Regards</div><span class=""><font color="#888888">
<div>Lene Fischer</div>
</font></span></div>
</div>
</div>
<br clear="all"> 
</div>


<br>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
<br></blockquote></div><br></div></div>