- Qt 6.8
- Qt Data Visualization
- QML Types
- Scatter3DSeries
- Qt Data Visualization | Commercial or GPLv3

# Scatter3DSeries QML Type

Represents a data series in a 3D scatter graph. More...

Import Statement: | `import QtDataVisualization 1.8`
Since: | QtDataVisualization 1.0
In C++: | QScatter3DSeries
Inherits: | Abstract3DSeries

- List of all members, including inherited members

## Properties

- dataProxy : ScatterDataProxy
- invalidSelectionIndex : int
- itemSize : real
- selectedItem : int

## Detailed Description

This type manages the series specific visual elements, as well as the series data (via a data proxy).

For a more complete description, see QScatter3DSeries.

See also Qt Data Visualization Data Handling.

## Property Documentation

dataProxy : ScatterDataProxy

Sets the active data 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 cannot be null or set to another series.

invalidSelectionIndex : int

A constant property providing an invalid index for selection. This index is set to the selectedItem property to clear the selection from this series.

See also AbstractGraph3D::clearSelection().

itemSize : real

Sets the item size for the series. The size must be between `0.0` and `1.0`. Setting the size to `0.0` 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.0`.

selectedItem : int

The item that is selected at the 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 the 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.

See also AbstractGraph3D::clearSelection().