<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-15">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
firstly , Happy New Year 2016 to all the QGIS users !!<br>
<br>
I need to access to the label of a graduated rendereing using
python.<br>
This is the legend I have:<br>
<br>
<img src="cid:part1.02040900.01020409@gmail.com" alt=""><br>
<br>
To access it I use this kind of code:<br>
<br>
for range in renderer.ranges():<br>
theLabel = range.label()<br>
<br>
But I dont retrieve the values of the various labels (example:
"<= 50.0", or "50.0 - 200.0")<br>
but instead i have the string "DP39-2001".<br>
<br>
AFAIK "DP39-2001" should be the name of the layer , I don't
understand why it is accessible in the range.label().<br>
<br>
I'm wrong something ?<br>
<br>
I'm using QGIS-dev.<br>
<br>
Thx,<br>
<br>
Andrea Peri.<br>
<br>
</body>
</html>