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.

Abstract Methods

clone

Methods

subDiagramPosition

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

class qgis.core.QgsStackedDiagram[source]

Bases: QgsDiagram

abstract clone(self) → QgsStackedDiagram | None[source]
Return type:

QgsStackedDiagram|None

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

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

Parameters: