Class: QgsTextDiagram

class qgis.core.QgsTextDiagram

Bases: qgis._core.QgsDiagram

QgsTextDiagram(QgsTextDiagram)

Enums

Methods

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

Signals

Attributes

Circle
Horizontal
Rectangle
Triangle
Vertical
Circle = 0
Horizontal = 0
class Orientation

Bases: int

Rectangle = 1
class Shape

Bases: int

Triangle = 2
Vertical = 1
clone(self) → QgsTextDiagram
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()