Class: QgsPieDiagram

class qgis.core.QgsPieDiagram

Bases: qgis._core.QgsDiagram

QgsPieDiagram(QgsPieDiagram)

Methods

clone
diagramName
diagramSize diagramSize(self, feature: QgsFeature, c: QgsRenderContext, s: QgsDiagramSettings, is_: QgsDiagramInterpolationSettings) -> QSizeF
legendSize
renderDiagram
scaledFont
setPenWidth
sizeForValue
sizePainterUnits

Signals

Attributes

clone(self) → QgsPieDiagram
diagramName(self) → str
diagramSize(self, attributes: object, c: QgsRenderContext, s: QgsDiagramSettings) → QSizeF

diagramSize(self, feature: QgsFeature, c: QgsRenderContext, s: QgsDiagramSettings, is_: QgsDiagramInterpolationSettings) -> QSizeF

legendSize(self, value: float, s: QgsDiagramSettings, is_: QgsDiagramInterpolationSettings) → float
renderDiagram(self, feature: QgsFeature, c: QgsRenderContext, s: QgsDiagramSettings, position: Union[QPointF, QPoint])
scaledFont()
setPenWidth()
sizeForValue()
sizePainterUnits()