QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
Public Member Functions | List of all members
QgsPlot Class Reference

Base class for plot/chart/graphs. More...

#include <qgsplot.h>

Inheritance diagram for QgsPlot:
Inheritance graph
[legend]

Public Member Functions

 QgsPlot ()=default
 Constructor for QgsPlot. More...
 
virtual ~QgsPlot ()
 
virtual bool readXml (const QDomElement &element, const QgsReadWriteContext &context)
 Reads the plot's properties from an XML element. More...
 
virtual bool writeXml (QDomElement &element, QDomDocument &document, const QgsReadWriteContext &context) const
 Writes the plot's properties into an XML element. More...
 

Detailed Description

Base class for plot/chart/graphs.

Warning
This class is not considered stable API, and may change in future!
Since
QGIS 3.26

Definition at line 43 of file qgsplot.h.

Constructor & Destructor Documentation

◆ QgsPlot()

QgsPlot::QgsPlot ( )
default

Constructor for QgsPlot.

◆ ~QgsPlot()

QgsPlot::~QgsPlot ( )
virtualdefault

Member Function Documentation

◆ readXml()

bool QgsPlot::readXml ( const QDomElement &  element,
const QgsReadWriteContext context 
)
virtual

Reads the plot's properties from an XML element.

Reimplemented in Qgs2DPlot.

Definition at line 37 of file qgsplot.cpp.

◆ writeXml()

bool QgsPlot::writeXml ( QDomElement &  element,
QDomDocument &  document,
const QgsReadWriteContext context 
) const
virtual

Writes the plot's properties into an XML element.

Reimplemented in Qgs2DPlot.

Definition at line 32 of file qgsplot.cpp.


The documentation for this class was generated from the following files: