Class: QgsHistogramDiagram

class qgis.core.QgsHistogramDiagram

Bases: qgis._core.QgsDiagram

QgsHistogramDiagram(QgsHistogramDiagram)

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) → QgsHistogramDiagram
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()