- class QXYSeries¶
-
Inherited by:
QScatterSeries
,QLineSeries
,QSplineSeries
Synopsis¶
Properties¶
Methods¶
def
append()
def
at()
def
bestFitLinePen()
def
brush()
def
clear()
def
colorBy()
def
count()
def
deselectPoint()
def
deselectPoints()
def
insert()
def
lightMarker()
def
markerSize()
def
pen()
def
points()
def
pointsVector()
def
pointsVisible()
def
remove()
def
removePoints()
def
replace()
def
selectPoint()
def
selectPoints()
def
selectedColor()
def
selectedPoints()
def
setLightMarker()
def
setMarkerSize()
def
sizeBy()
Virtual methods¶
def
color()
def
setBrush()
def
setColor()
def
setPen()
Signals¶
def
clicked()
def
colorChanged()
def
doubleClicked()
def
hovered()
def
penChanged()
def
pointAdded()
def
pointRemoved()
def
pointReplaced()
def
pointsRemoved()
def
pointsReplaced()
def
pressed()
def
released()
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.- Access functions:
- property bestFitLineVisibleᅟ: bool¶
- Access functions:
- Access functions:
Signal
colorChanged()
- property pointLabelsClippingᅟ: bool¶
- Access functions:
- Access functions:
- Access functions:
- property pointLabelsFormatᅟ: str¶
- Access functions:
- property pointLabelsVisibleᅟ: bool¶
- Access functions:
- property pointsVisibleᅟ: bool¶
- Access functions:
- Access functions:
- append(points)¶
- Parameters:
points – .list of QPointF
- append(point)
- Parameters:
point –
QPointF
- append(x, y)
- Parameters:
x – float
y – float
Getter of property
bestFitLineColorᅟ
.Notification signal of property
bestFitLineColorᅟ
.- bestFitLineEquation(ok)¶
- Parameters:
ok – bool
- Return type:
.std.pairqreal,qreal
- bestFitLineVisibilityChanged(visible)¶
- Parameters:
visible – bool
Notification signal of property
bestFitLineVisibleᅟ
.- bestFitLineVisible()¶
- Return type:
bool
Getter of property
bestFitLineVisibleᅟ
.- clear()¶
- clearPointConfiguration(index)¶
- Parameters:
index – int
- clearPointConfiguration(index, key)
- Parameters:
index – int
key –
PointConfiguration
- clearPointsConfiguration()¶
- clearPointsConfiguration(key)
- Parameters:
key –
PointConfiguration
Getter of property
colorᅟ
.- colorBy(sourceData[, gradient=QLinearGradient()])¶
- Parameters:
sourceData – .list of qreal
gradient –
QLinearGradient
Notification signal of property
colorᅟ
.- count()¶
- Return type:
int
- deselectAllPoints()¶
- deselectPoint(index)¶
- Parameters:
index – int
- deselectPoints(indexes)¶
- Parameters:
indexes – .list of int
- isPointSelected(index)¶
- Parameters:
index – int
- Return type:
bool
- markerSize()¶
- Return type:
float
- markerSizeChanged(size)¶
- Parameters:
size – float
- 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ᅟ
.Getter of property
pointLabelsColorᅟ
.Notification signal of property
pointLabelsColorᅟ
.Getter of property
pointLabelsFontᅟ
.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
- 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()¶
- pointsVisible()¶
- Return type:
bool
Getter of property
pointsVisibleᅟ
.- 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(index, newPoint)
- Parameters:
index – int
newPoint –
QPointF
- 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
Notification signal of property
selectedColorᅟ
.- selectedPoints()¶
- Return type:
.list of int
- selectedPointsChanged()¶
Setter of property
bestFitLineColorᅟ
.- setBestFitLineVisible([visible=true])¶
- Parameters:
visible – bool
Setter of property
bestFitLineVisibleᅟ
.Setter of property
colorᅟ
.- setMarkerSize(size)¶
- Parameters:
size – float
- 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
key –
PointConfiguration
value – object
- setPointLabelsClipping([enabled=true])¶
- Parameters:
enabled – bool
Setter of property
pointLabelsClippingᅟ
.Setter of property
pointLabelsColorᅟ
.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ᅟ
.Setter of property
selectedColorᅟ
.- sizeBy(sourceData, minSize, maxSize)¶
- Parameters:
sourceData – .list of qreal
minSize – float
maxSize – float
- toggleSelection(indexes)¶
- Parameters:
indexes – .list of int