Class: QgsPieDiagram

class qgis.core.QgsPieDiagram

Bases: QgsDiagram

A pie chart diagram.

Methods

clone

rtype

QgsPieDiagram

diagramName

rtype

str

diagramSize

param attributes

legendSize

param value

renderDiagram

param feature

clone(self) QgsPieDiagram
Return type

QgsPieDiagram

diagramName(self) str
Return type

str

diagramSize(self, attributes: object, c: QgsRenderContext, s: QgsDiagramSettings) QSizeF
diagramSize(self, feature: QgsFeature, c: QgsRenderContext, s: QgsDiagramSettings, is_: QgsDiagramInterpolationSettings) QSizeF
Parameters
Return type

QSizeF

legendSize(self, value: float, s: QgsDiagramSettings, is_: QgsDiagramInterpolationSettings) float
Parameters
Return type

float

renderDiagram(self, feature: QgsFeature, c: QgsRenderContext, s: QgsDiagramSettings, position: Union[QPointF, QPoint, float])
Parameters