Class: QgsPlot

class qgis.core.QgsPlot

Bases: sip.wrapper

Base class for plot/chart/graphs.

Warning

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

New in version 3.26.

QgsPlot() Constructor for QgsPlot.

QgsPlot(QgsPlot)

Methods

readXml

Reads the plot's properties from an XML element.

writeXml

Writes the plot's properties into an XML element.

readXml(self, element: QDomElement, context: QgsReadWriteContext) bool

Reads the plot’s properties from an XML element.

Parameters:
Return type:

bool

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

Writes the plot’s properties into an XML element.

Parameters:
Return type:

bool