|
QGIS API Documentation 3.99.0-Master (357b655ed83)
|
Encapsulates one or more plot series. More...
#include <qgsplot.h>
Public Member Functions | |
| QgsPlotData ()=default | |
| QgsPlotData (const QgsPlotData &other) | |
| QgsPlotData (QgsPlotData &&other) | |
| ~QgsPlotData () | |
| void | addSeries (QgsAbstractPlotSeries *series) |
| Adds a series to the plot data. | |
| QStringList | categories () const |
| Returns the name of the series' categories. | |
| void | clearSeries () |
| Clears all series from the plot data. | |
| QgsPlotData & | operator= (const QgsPlotData &other) |
| QgsPlotData & | operator= (QgsPlotData &&other) |
| QList< QgsAbstractPlotSeries * > | series () const |
| Returns the list of series forming the plot data. | |
| void | setCategories (const QStringList &categories) |
| Sets the name of the series' categories. | |
Encapsulates one or more plot series.
|
default |
| QgsPlotData::~QgsPlotData | ( | ) |
Definition at line 1238 of file qgsplot.cpp.
| QgsPlotData::QgsPlotData | ( | const QgsPlotData & | other | ) |
Definition at line 1243 of file qgsplot.cpp.
| QgsPlotData::QgsPlotData | ( | QgsPlotData && | other | ) |
Definition at line 1252 of file qgsplot.cpp.
| void QgsPlotData::addSeries | ( | QgsAbstractPlotSeries * | series | ) |
Adds a series to the plot data.
Definition at line 1290 of file qgsplot.cpp.
| QStringList QgsPlotData::categories | ( | ) | const |
Returns the name of the series' categories.
Definition at line 1304 of file qgsplot.cpp.
| void QgsPlotData::clearSeries | ( | ) |
Clears all series from the plot data.
Definition at line 1298 of file qgsplot.cpp.
| QgsPlotData & QgsPlotData::operator= | ( | const QgsPlotData & | other | ) |
Definition at line 1258 of file qgsplot.cpp.
| QgsPlotData & QgsPlotData::operator= | ( | QgsPlotData && | other | ) |
Definition at line 1273 of file qgsplot.cpp.
| QList< QgsAbstractPlotSeries * > QgsPlotData::series | ( | ) | const |
Returns the list of series forming the plot data.
Definition at line 1285 of file qgsplot.cpp.
| void QgsPlotData::setCategories | ( | const QStringList & | categories | ) |
Sets the name of the series' categories.
Definition at line 1309 of file qgsplot.cpp.