<div dir="ltr">Hi, all.<div style>I am trying to use the diagramRenderer() member function of the QgsVectorLayer. In the current Master, the following works in the Console:</div><div style>qgis.utils.iface.activeLayer().diagramRenderer()<br>
</div><div style><br></div><div style>It returns an object.</div><div style>From Version 1.8.0, however, it doesn't. It returns an error about there being no such member:</div><div style><p style="margin:0px">>>> l = qgis.utils.iface.activeLayer().diagramRenderer()</p>

<p style="margin:0px">Traceback (most recent call last):</p>
<p style="margin:0px">  File "<input>", line 1, in <module></p>
<p style="margin:0px">AttributeError: 'QgsVectorLayer' object has no attribute 'diagramRenderer'</p><p style="margin:0px"><br></p><p style="margin:0px">I tracked the problem down to qgis-1.8.0\python\core\qgsvectorlayer.sip</p>
<p style="margin:0px"><br></p><p style="margin:0px">I can update the SIP files to add the parts needed- I think it is a 4 line fix. I can just trim them from the 1.9 source. Is there anything else I need to do? </p><p style="margin:0px">
<br></p><p style="margin:0px">I would love to have a release made with this tiny update. I want to roll things out to several users who are required to install "stable" software only.</p><p style="margin:0px"><br>
</p><p style="margin:0px">I am just trying to create a standardized pie diagram overlay in code, rather that asking the user to create a pie diagram on the correct properties tab.</p><p style="margin:0px"><br></p><p style="margin:0px">
The properties I want to use are in the API docs, which is why I thought I could use them. And then I developed my plugin code in the 1.9 series, and it worked wonderfully. But it doesn't work on the client's machine.</p>
<p style="margin:0px"><br></p><p style="margin:0px">Thanks,</p><p style="margin:0px">Angus Carr.</p><p style="margin:0px">ps. After using QGis for the last 6 years, I am finally needing something it doesn't do, so I am adding it. Thanks for the platform to stand on.</p>
<p style="margin:0px"><br></p><p style="margin:0px"><br></p></div></div>