|
QGIS API Documentation 4.0.0-Norrköping (1ddcee3d0e4)
|
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 1453 of file qgsplot.cpp.
| QgsPlotData::QgsPlotData | ( | const QgsPlotData & | other | ) |
Definition at line 1458 of file qgsplot.cpp.
| QgsPlotData::QgsPlotData | ( | QgsPlotData && | other | ) |
Definition at line 1467 of file qgsplot.cpp.
| void QgsPlotData::addSeries | ( | QgsAbstractPlotSeries * | series | ) |
Adds a series to the plot data.
Definition at line 1504 of file qgsplot.cpp.
| QStringList QgsPlotData::categories | ( | ) | const |
Returns the name of the series' categories.
Definition at line 1518 of file qgsplot.cpp.
| void QgsPlotData::clearSeries | ( | ) |
Clears all series from the plot data.
Definition at line 1512 of file qgsplot.cpp.
| QgsPlotData & QgsPlotData::operator= | ( | const QgsPlotData & | other | ) |
Definition at line 1472 of file qgsplot.cpp.
| QgsPlotData & QgsPlotData::operator= | ( | QgsPlotData && | other | ) |
Definition at line 1487 of file qgsplot.cpp.
| QList< QgsAbstractPlotSeries * > QgsPlotData::series | ( | ) | const |
Returns the list of series forming the plot data.
Definition at line 1499 of file qgsplot.cpp.
| void QgsPlotData::setCategories | ( | const QStringList & | categories | ) |
Sets the name of the series' categories.
Definition at line 1523 of file qgsplot.cpp.