Class: QgsVectorLayerXyPlotDataGatherer¶
An vector layer plot data gatherer class for XY series.
Added in version 4.0.
Class Hierarchy¶
Base classes¶
An abstract vector layer plot data gatherer base class. |
|
Abstract base class for long running background tasks. |
|
Methods
Sets the predefined categories list that will be used to restrict the categories used when gathering the data. |
|
Sets the series details list that will be used to prepare the data being gathered. |
- class qgis.core.QgsVectorLayerXyPlotDataGatherer[source]¶
Bases:
QgsVectorLayerAbstractPlotDataGatherer
- __init__(xAxisType: Qgis.PlotAxisType = Qgis.PlotAxisType.Interval)
The vector layer XY plot data gatherer constructor.
- Parameters:
xAxisType (Qgis.PlotAxisType = Qgis.PlotAxisType.Interval) – The X-axis type that will define what type of X values to gather.
- setPredefinedCategories(self, categories: Iterable[str | None])[source]¶
Sets the predefined
categories
list that will be used to restrict the categories used when gathering the data.Note
This is only used when the gatherer’s X-axis type is set to categorical.
- Parameters:
categories (Iterable[Optional[str]])
- setSeriesDetails(self, details: Iterable[QgsVectorLayerXyPlotDataGatherer.XySeriesDetails])[source]¶
Sets the series
details
list that will be used to prepare the data being gathered.- Parameters:
details (Iterable[QgsVectorLayerXyPlotDataGatherer.XySeriesDetails])