Class: QgsXyPlotSeries

Encapsulates the data for an XY plot series.

Warning

This class is not considered stable API, and may change in future!

Added in version 4.0.

Class Hierarchy

Inheritance diagram of qgis.core.QgsXyPlotSeries

Base classes

QgsAbstractPlotSeries

An abstract class used to encapsulate the data for a plot series.

class qgis.core.QgsXyPlotSeries[source]

Bases: QgsAbstractPlotSeries

append(self, x: float, y: float)[source]

Appends a pair of X/Y double values to the series.

Parameters:
  • x (float)

  • y (float)

clear(self)[source]

Clears the series’ data.

data(self) Any

Returns the series’ list of XY pairs of double.

Return type:

Any

setData(self, data: Any)[source]

Sets the series’ list of XY pairs of double.

Parameters:

data (Any)