Class: QgsSingleCategoryDiagramRenderer

class qgis.core.QgsSingleCategoryDiagramRenderer

Bases: qgis._core.QgsDiagramRenderer

Constructor for QgsSingleCategoryDiagramRenderer

QgsSingleCategoryDiagramRenderer(QgsSingleCategoryDiagramRenderer)

Renders the diagrams for all features with the same settings

Enums

Methods

clone
convertSizeToMapUnits
diagramAttributes
diagramSettings diagramSettings(self, feature: QgsFeature, c: QgsRenderContext, s: QgsDiagramSettings) -> bool
diagramSize
dpiPaintDevice
legendItems
readXml
rendererName
setDiagramSettings
writeXml

Signals

Attributes

clone(self) → QgsSingleCategoryDiagramRenderer
convertSizeToMapUnits()
diagramAttributes(self) → List[str]
diagramSettings(self) → List[QgsDiagramSettings]

diagramSettings(self, feature: QgsFeature, c: QgsRenderContext, s: QgsDiagramSettings) -> bool

diagramSize(self, a0: QgsFeature, c: QgsRenderContext) → QSizeF
dpiPaintDevice()
legendItems(self, nodeLayer: QgsLayerTreeLayer) → List[QgsLayerTreeModelLegendNode]
readXml(self, elem: QDomElement, context: QgsReadWriteContext)
rendererName(self) → str
setDiagramSettings(self, s: QgsDiagramSettings)
writeXml(self, layerElem: QDomElement, doc: QDomDocument, context: QgsReadWriteContext)