Class: QgsVectorLayerAbstractPlotDataGatherer¶
An abstract vector layer plot data gatherer base class.
Added in version 4.0.
Note
This is an abstract class, with methods which must be implemented by a subclass.
The following methods must be implemented: data()
, QgsTask.run()
Class Hierarchy¶
Base classes¶
Abstract base class for long running background tasks. |
|
Subclasses¶
An vector layer plot data gatherer class for XY series. |
Abstract Methods
Returns the plot data. |
Methods
Sets the expression context used when evaluating values being gathered. |
|
Sets the feature iterator used to gather data from. |
- class qgis.core.QgsVectorLayerAbstractPlotDataGatherer[source]¶
Bases:
QgsTask
- abstract data(self) QgsPlotData [source]¶
Returns the plot data.
- Return type:
- setExpressionContext(self, context: QgsExpressionContext)[source]¶
Sets the expression
context
used when evaluating values being gathered.- Parameters:
context (QgsExpressionContext)
- setFeatureIterator(self, iterator: QgsFeatureIterator)[source]¶
Sets the feature
iterator
used to gather data from.- Parameters:
iterator (QgsFeatureIterator)