QScatter3DSeries#

The QScatter3DSeries class represents a data series in a 3D scatter graph. More

Inheritance diagram of PySide6.QtDataVisualization.QScatter3DSeries

Synopsis#

Properties#

Functions#

Signals#

Static functions#

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#

Warning

This section contains snippets that were automatically translated from C++ to Python and may contain errors.

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("@valueTitle for (@rowLabel, @colLabel): %.1f")
class PySide6.QtDataVisualization.QScatter3DSeries([parent=None])#

PySide6.QtDataVisualization.QScatter3DSeries(dataProxy[, parent=None])

Parameters:

Constructs a scatter 3D series with the parent parent.

Constructs a scatter 3D series with the data proxy dataProxy and the parent parent.

Note

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

property PᅟySide6.QtDataVisualization.QScatter3DSeries.dataProxy: PySide6.QtDataVisualization.QScatterDataProxy#

This property holds The active data proxy..

Access functions:
property PᅟySide6.QtDataVisualization.QScatter3DSeries.itemSize: 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.

Access functions:
property PᅟySide6.QtDataVisualization.QScatter3DSeries.selectedItem: int#

This property holds The item that is selected in the series..

Access functions:
PySide6.QtDataVisualization.QScatter3DSeries.dataProxy()#
Return type:

PySide6.QtDataVisualization.QScatterDataProxy

See also

setDataProxy()

Getter of property dataProxy .

PySide6.QtDataVisualization.QScatter3DSeries.dataProxyChanged(proxy)#
Parameters:

proxyPySide6.QtDataVisualization.QScatterDataProxy

Notification signal of property dataProxy .

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

clearSelection()

PySide6.QtDataVisualization.QScatter3DSeries.itemSize()#
Return type:

float

See also

setItemSize()

Getter of property itemSize .

PySide6.QtDataVisualization.QScatter3DSeries.itemSizeChanged(size)#
Parameters:

size – float

Notification signal of property itemSize .

PySide6.QtDataVisualization.QScatter3DSeries.selectedItem()#
Return type:

int

Getter of property selectedItem .

PySide6.QtDataVisualization.QScatter3DSeries.selectedItemChanged(index)#
Parameters:

index – int

Notification signal of property selectedItem .

PySide6.QtDataVisualization.QScatter3DSeries.setDataProxy(proxy)#
Parameters:

proxyPySide6.QtDataVisualization.QScatterDataProxy

Sets the active data proxy for the series to proxy. The series assumes ownership of any proxy set to it and deletes any previously set proxy when a new one is added. The proxy argument cannot be null or set to another series.

See also

dataProxy()

Setter of property dataProxy .

PySide6.QtDataVisualization.QScatter3DSeries.setItemSize(size)#
Parameters:

size – float

See also

itemSize()

Setter of property itemSize .

PySide6.QtDataVisualization.QScatter3DSeries.setSelectedItem(index)#
Parameters:

index – int

Selects the item at the index index in the data array of the series. Only one item can be selected at a time.

To clear selection from this series, invalidSelectionIndex() is set as index. If this series is added to a graph, the graph can adjust the selection according to user interaction or if it becomes invalid. Selecting an item on another added series will also clear the selection.

Removing items from or inserting items to the series before the selected item will adjust the selection so that the same item will stay selected.

Setter of property selectedItem .