|
QGIS API Documentation 3.99.0-Master (26c88405ac0)
|
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 1234 of file qgsplot.cpp.
| QgsPlotData::QgsPlotData | ( | const QgsPlotData & | other | ) |
Definition at line 1239 of file qgsplot.cpp.
| QgsPlotData::QgsPlotData | ( | QgsPlotData && | other | ) |
Definition at line 1248 of file qgsplot.cpp.
| void QgsPlotData::addSeries | ( | QgsAbstractPlotSeries * | series | ) |
Adds a series to the plot data.
Definition at line 1286 of file qgsplot.cpp.
| QStringList QgsPlotData::categories | ( | ) | const |
Returns the name of the series' categories.
Definition at line 1300 of file qgsplot.cpp.
| void QgsPlotData::clearSeries | ( | ) |
Clears all series from the plot data.
Definition at line 1294 of file qgsplot.cpp.
| QgsPlotData & QgsPlotData::operator= | ( | const QgsPlotData & | other | ) |
Definition at line 1254 of file qgsplot.cpp.
| QgsPlotData & QgsPlotData::operator= | ( | QgsPlotData && | other | ) |
Definition at line 1269 of file qgsplot.cpp.
| QList< QgsAbstractPlotSeries * > QgsPlotData::series | ( | ) | const |
Returns the list of series forming the plot data.
Definition at line 1281 of file qgsplot.cpp.
| void QgsPlotData::setCategories | ( | const QStringList & | categories | ) |
Sets the name of the series' categories.
Definition at line 1305 of file qgsplot.cpp.