Class: QgsStackedDiagram

A diagram composed of several subdiagrams, located side by side.

Added in version 3.40.

List of all members, including inherited members

Class Hierarchy

Inheritance diagram of qgis.core.QgsStackedDiagram

Base classes

QgsDiagram

Base class for all diagram types.

Methods

subDiagramPosition

Calculates the position for the next subdiagram, updating the newPos object.

class qgis.core.QgsStackedDiagram[source]

Bases: QgsDiagram

subDiagramPosition(self, newPos: QPointF, c: QgsRenderContext, s: QgsDiagramSettings, subSettings: QgsDiagramSettings)[source]

Calculates the position for the next subdiagram, updating the newPos object.

Parameters: