class QXYSeries

Inheritance diagram of PySide6.QtGraphs.QXYSeries

Inherited by: QScatterSeries, QLineSeries, QSplineSeries

Synopsis

Properties

Methods

Virtual methods

Signals

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description

class PointConfiguration

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property bestFitLineColorᅟ: QColor
Access functions:
property bestFitLineVisibleᅟ: bool
Access functions:
property colorᅟ: QColor
Access functions:
property pointLabelsClippingᅟ: bool
Access functions:
property pointLabelsColorᅟ: QColor
Access functions:
property pointLabelsFontᅟ: QFont
Access functions:
property pointLabelsFormatᅟ: str
Access functions:
property pointLabelsVisibleᅟ: bool
Access functions:
property pointsVisibleᅟ: bool
Access functions:
property selectedColorᅟ: QColor
Access functions:
append(points)
Parameters:

points – .list of QPointF

append(point)
Parameters:

pointQPointF

append(x, y)
Parameters:
  • x – float

  • y – float

at(index)
Parameters:

index – int

Return type:

QPointF

bestFitLineColor()
Return type:

QColor

Getter of property bestFitLineColorᅟ .

bestFitLineColorChanged(color)
Parameters:

colorQColor

Notification signal of property bestFitLineColorᅟ .

bestFitLineEquation(ok)
Parameters:

ok – bool

Return type:

.std.pairqreal,qreal

bestFitLinePen()
Return type:

QPen

bestFitLinePenChanged(pen)
Parameters:

penQPen

bestFitLineVisibilityChanged(visible)
Parameters:

visible – bool

Notification signal of property bestFitLineVisibleᅟ .

bestFitLineVisible()
Return type:

bool

Getter of property bestFitLineVisibleᅟ .

brush()
Return type:

QBrush

clear()
clearPointConfiguration(index)
Parameters:

index – int

clearPointConfiguration(index, key)
Parameters:
  • index – int

  • keyPointConfiguration

clearPointsConfiguration()
clearPointsConfiguration(key)
Parameters:

keyPointConfiguration

clicked(point)
Parameters:

pointQPointF

color()
Return type:

QColor

Getter of property colorᅟ .

colorBy(sourceData[, gradient=QLinearGradient()])
Parameters:
colorChanged(color)
Parameters:

colorQColor

Notification signal of property colorᅟ .

count()
Return type:

int

deselectAllPoints()
deselectPoint(index)
Parameters:

index – int

deselectPoints(indexes)
Parameters:

indexes – .list of int

doubleClicked(point)
Parameters:

pointQPointF

hovered(point, state)
Parameters:
insert(index, point)
Parameters:
isPointSelected(index)
Parameters:

index – int

Return type:

bool

lightMarker()
Return type:

QImage

lightMarkerChanged(lightMarker)
Parameters:

lightMarkerQImage

markerSize()
Return type:

float

markerSizeChanged(size)
Parameters:

size – float

pen()
Return type:

QPen

penChanged(pen)
Parameters:

penQPen

pointAdded(index)
Parameters:

index – int

pointConfiguration(index)
Parameters:

index – int

Return type:

Dictionary with keys of type .QXYSeries.PointConfiguration and values of type QVariant.

pointLabelsClipping()
Return type:

bool

Getter of property pointLabelsClippingᅟ .

pointLabelsClippingChanged(clipping)
Parameters:

clipping – bool

Notification signal of property pointLabelsClippingᅟ .

pointLabelsColor()
Return type:

QColor

Getter of property pointLabelsColorᅟ .

pointLabelsColorChanged(color)
Parameters:

colorQColor

Notification signal of property pointLabelsColorᅟ .

pointLabelsFont()
Return type:

QFont

Getter of property pointLabelsFontᅟ .

pointLabelsFontChanged(font)
Parameters:

fontQFont

Notification signal of property pointLabelsFontᅟ .

pointLabelsFormat()
Return type:

str

Getter of property pointLabelsFormatᅟ .

pointLabelsFormatChanged(format)
Parameters:

format – str

Notification signal of property pointLabelsFormatᅟ .

pointLabelsVisibilityChanged(visible)
Parameters:

visible – bool

Notification signal of property pointLabelsVisibleᅟ .

pointLabelsVisible()
Return type:

bool

Getter of property pointLabelsVisibleᅟ .

pointRemoved(index)
Parameters:

index – int

pointReplaced(index)
Parameters:

index – int

points()
Return type:

.list of QPointF

pointsConfiguration()
Return type:

Dictionary with keys of type .int and values of type QXYSeries.PointConfiguration.

pointsConfigurationChanged(configuration)
Parameters:

configuration – Dictionary with keys of type .int and values of type QXYSeries.PointConfiguration.

pointsRemoved(index, count)
Parameters:
  • index – int

  • count – int

pointsReplaced()
pointsVector()
Return type:

.list of QPointF

Note

This function is deprecated.

pointsVisible()
Return type:

bool

Getter of property pointsVisibleᅟ .

pressed(point)
Parameters:

pointQPointF

released(point)
Parameters:

pointQPointF

remove(point)
Parameters:

pointQPointF

remove(index)
Parameters:

index – int

remove(x, y)
Parameters:
  • x – float

  • y – float

removePoints(index, count)
Parameters:
  • index – int

  • count – int

replace(points)
Parameters:

points – .list of QPointF

replace(oldPoint, newPoint)
Parameters:
replace(index, newPoint)
Parameters:
  • index – int

  • newPointQPointF

replace(index, newX, newY)
Parameters:
  • index – int

  • newX – float

  • newY – float

replace(oldX, oldY, newX, newY)
Parameters:
  • oldX – float

  • oldY – float

  • newX – float

  • newY – float

selectAllPoints()
selectPoint(index)
Parameters:

index – int

selectPoints(indexes)
Parameters:

indexes – .list of int

selectedColor()
Return type:

QColor

selectedColorChanged(color)
Parameters:

colorQColor

Notification signal of property selectedColorᅟ .

selectedLightMarker()
Return type:

QImage

selectedLightMarkerChanged(selectedLightMarker)
Parameters:

selectedLightMarkerQImage

selectedPoints()
Return type:

.list of int

selectedPointsChanged()
setBestFitLineColor(color)
Parameters:

colorQColor

Setter of property bestFitLineColorᅟ .

setBestFitLinePen(pen)
Parameters:

penQPen

setBestFitLineVisible([visible=true])
Parameters:

visible – bool

Setter of property bestFitLineVisibleᅟ .

setBrush(brush)
Parameters:

brushQBrush

setColor(color)
Parameters:

colorQColor

Setter of property colorᅟ .

setLightMarker(lightMarker)
Parameters:

lightMarkerQImage

setMarkerSize(size)
Parameters:

size – float

setPen(pen)
Parameters:

penQPen

setPointConfiguration(index, configuration)
Parameters:
  • index – int

  • configuration – Dictionary with keys of type .QXYSeries.PointConfiguration and values of type QVariant.

setPointConfiguration(index, key, value)
Parameters:
  • index – int

  • keyPointConfiguration

  • value – object

setPointLabelsClipping([enabled=true])
Parameters:

enabled – bool

Setter of property pointLabelsClippingᅟ .

setPointLabelsColor(color)
Parameters:

colorQColor

Setter of property pointLabelsColorᅟ .

setPointLabelsFont(font)
Parameters:

fontQFont

Setter of property pointLabelsFontᅟ .

setPointLabelsFormat(format)
Parameters:

format – str

Setter of property pointLabelsFormatᅟ .

setPointLabelsVisible([visible=true])
Parameters:

visible – bool

Setter of property pointLabelsVisibleᅟ .

setPointSelected(index, selected)
Parameters:
  • index – int

  • selected – bool

setPointsConfiguration(pointsConfiguration)
Parameters:

pointsConfiguration – Dictionary with keys of type .int and values of type QXYSeries.PointConfiguration.

setPointsVisible([visible=true])
Parameters:

visible – bool

Setter of property pointsVisibleᅟ .

setSelectedColor(color)
Parameters:

colorQColor

Setter of property selectedColorᅟ .

setSelectedLightMarker(selectedLightMarker)
Parameters:

selectedLightMarkerQImage

sizeBy(sourceData, minSize, maxSize)
Parameters:
  • sourceData – .list of qreal

  • minSize – float

  • maxSize – float

toggleSelection(indexes)
Parameters:

indexes – .list of int