Class: QgsPieDiagram

class qgis.core.QgsPieDiagram

Bases: QgsDiagram

QgsPieDiagram(QgsPieDiagram)

Methods

clone

rtype

QgsPieDiagram

diagramName

rtype

str

diagramSize

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

legendSize

param value

renderDiagram

param feature

scaledFont

setPenWidth

sizeForValue

sizePainterUnits

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])
Parameters
scaledFont()
setPenWidth()
sizeForValue()
sizePainterUnits()