Class: QgsPlot

Base class for plot/chart/graphs.

Warning

This class is not considered stable API, and may change in future!

Added in version 3.26.

Class Hierarchy

Inheritance diagram of qgis.core.QgsPlot

Subclasses

Qgs2DPlot

Base class for 2-dimensional plot/chart/graphs.

Methods

readXml

Reads the plot's properties from an XML element.

writeXml

Writes the plot's properties into an XML element.

class qgis.core.QgsPlot[source]

Bases: object

readXml(self, element: QDomElement, context: QgsReadWriteContext) bool[source]

Reads the plot’s properties from an XML element.

Parameters:
Return type:

bool

writeXml(self, element: QDomElement, document: QDomDocument, context: QgsReadWriteContext) bool[source]

Writes the plot’s properties into an XML element.

Parameters:
Return type:

bool