Class: QgsHistogramDiagram

class qgis.core.QgsHistogramDiagram

Bases: QgsDiagram

A histogram style diagram.

Methods

clone

rtype

QgsHistogramDiagram

diagramName

rtype

str

diagramSize

param attributes

legendSize

param value

renderDiagram

param feature

clone(self) QgsHistogramDiagram
Return type

QgsHistogramDiagram

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, float])
Parameters