QScatter3DSeries¶
The QScatter3DSeries
class represents a data series in a 3D scatter graph. More…
Synopsis¶
Functions¶
def
dataProxy
()def
itemSize
()def
selectedItem
()def
setDataProxy
(proxy)def
setItemSize
(size)def
setSelectedItem
(index)
Signals¶
def
dataProxyChanged
(proxy)def
itemSizeChanged
(size)def
selectedItemChanged
(index)
Static functions¶
def
invalidSelectionIndex
()
Detailed Description¶
This class manages the series specific visual elements, as well as the series data (via a data proxy).
If no data proxy is set explicitly for the series, the series creates a default proxy. Setting another proxy will destroy the existing proxy and all data added to it.
QScatter3DSeries
supports the following format tags for setItemLabelFormat()
:
@xTitle
Title from x-axis
@yTitle
Title from y-axis
@zTitle
Title from z-axis
@xLabel
Item value formatted using the format of the x-axis. For more information, see
setLabelFormat()
.@yLabel
Item value formatted using the format of the y-axis. For more information, see
setLabelFormat()
.@zLabel
Item value formatted using the format of the z-axis. For more information, see
setLabelFormat()
.@seriesName
Name of the series
For example:
proxy.setItemLabelFormat(QStringLiteral("@valueTitle for (@rowLabel, @colLabel): %.1f"))See also
- class PySide6.QtDataVisualization.QScatter3DSeries([parent=None])¶
PySide6.QtDataVisualization.QScatter3DSeries(dataProxy[, parent=None])
- Parameters
dataProxy –
PySide6.QtDataVisualization.QScatterDataProxy
parent –
PySide6.QtCore.QObject
Constructs a scatter 3D series with the parent parent
.
Constructs a scatter 3D series with the data proxy dataProxy
and the parent parent
.
- PySide6.QtDataVisualization.QScatter3DSeries.dataProxy()¶
- Return type
This property holds The active data proxy..
- PySide6.QtDataVisualization.QScatter3DSeries.dataProxyChanged(proxy)¶
- Parameters
- static PySide6.QtDataVisualization.QScatter3DSeries.invalidSelectionIndex()¶
- Return type
int
Returns an invalid index for selection. This index is set to the selectedItem
property to clear the selection from this series.
See also
- PySide6.QtDataVisualization.QScatter3DSeries.itemSize()¶
- Return type
float
This property holds Item size for the series..
The size must be between 0.0f
and 1.0f
. Setting the size to 0.0f
causes the item size to be automatically scaled based on the total number of items in all the series for the graph.
The preset default is 0.0f
.
- PySide6.QtDataVisualization.QScatter3DSeries.itemSizeChanged(size)¶
- Parameters
size – float
- PySide6.QtDataVisualization.QScatter3DSeries.selectedItem()¶
- Return type
int
This property holds The item that is selected in the series..
- PySide6.QtDataVisualization.QScatter3DSeries.selectedItemChanged(index)¶
- Parameters
index – int
- PySide6.QtDataVisualization.QScatter3DSeries.setDataProxy(proxy)¶
- Parameters
This property holds The active data proxy..
- PySide6.QtDataVisualization.QScatter3DSeries.setItemSize(size)¶
- Parameters
size – float
This property holds Item size for the series..
The size must be between 0.0f
and 1.0f
. Setting the size to 0.0f
causes the item size to be automatically scaled based on the total number of items in all the series for the graph.
The preset default is 0.0f
.
- PySide6.QtDataVisualization.QScatter3DSeries.setSelectedItem(index)¶
- Parameters
index – int
This property holds The item that is selected in the series..
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.