QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
Loading...
Searching...
No Matches
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
 
virtual ~QgsPlot ()
 
virtual bool readXml (const QDomElement &element, const QgsReadWriteContext &context)
 Reads the plot's properties from an XML element.
 
virtual bool writeXml (QDomElement &element, QDomDocument &document, const QgsReadWriteContext &context) const
 Writes the plot's properties into an XML element.
 

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

◆ ~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: