QScatterDataItem¶
The QScatterDataItem
class provides a container for resolved data to be added to scatter graphs. More…
Synopsis¶
Functions¶
def
createExtraData
()def
position
()def
rotation
()def
setPosition
(pos)def
setRotation
(rot)def
setX
(value)def
setY
(value)def
setZ
(value)def
x
()def
y
()def
z
()
Detailed Description¶
A scatter data item holds the data for a single rendered item in a scatter graph. Scatter data proxies parse data into QScatterDataItem
instances for visualization.
- class PySide6.QtDataVisualization.QScatterDataItem¶
PySide6.QtDataVisualization.QScatterDataItem(other)
PySide6.QtDataVisualization.QScatterDataItem(position)
PySide6.QtDataVisualization.QScatterDataItem(position, rotation)
- Parameters
position –
PySide6.QtGui.QVector3D
rotation –
PySide6.QtGui.QQuaternion
Constructs a scatter data item.
Constructs a copy of other
.
Constructs a scatter data item at the position position
.
Constructs a scatter data item at the position position
with the rotation rotation
.
- PySide6.QtDataVisualization.QScatterDataItem.createExtraData()¶
- PySide6.QtDataVisualization.QScatterDataItem.position()¶
- Return type
Returns the position of this data item.
See also
- PySide6.QtDataVisualization.QScatterDataItem.rotation()¶
- Return type
Returns the rotation of this data item.
See also
- PySide6.QtDataVisualization.QScatterDataItem.setPosition(pos)¶
- Parameters
pos –
PySide6.QtGui.QVector3D
Sets the position pos
for this data item.
See also
- PySide6.QtDataVisualization.QScatterDataItem.setRotation(rot)¶
- Parameters
Sets the rotation rot
for this data item. The value of rot
should be a normalized QQuaternion
. If the series also has rotation, item rotation is multiplied by it. Defaults to no rotation.
See also
- PySide6.QtDataVisualization.QScatterDataItem.setX(value)¶
- Parameters
value – float
Sets the x-coordinate of the item position to the value value
.
See also
- PySide6.QtDataVisualization.QScatterDataItem.setY(value)¶
- Parameters
value – float
Sets the y-coordinate of the item position to the value value
.
See also
- PySide6.QtDataVisualization.QScatterDataItem.setZ(value)¶
- Parameters
value – float
Sets the z-coordinate of the item position to the value value
.
See also
- PySide6.QtDataVisualization.QScatterDataItem.x()¶
- Return type
float
Returns the x-coordinate of the position of this data item.
See also
- PySide6.QtDataVisualization.QScatterDataItem.y()¶
- Return type
float
Returns the y-coordinate of the position of this data item.
See also
- PySide6.QtDataVisualization.QScatterDataItem.z()¶
- Return type
float
Returns the z-coordinate of the position of this data item.
See also