Scatter3DSeries QML Type

Represents a data series in a 3D scatter graph. 更多...

import 语句: import QtDataVisualization 1.15
Since: QtDataVisualization 1.0
实例化: QScatter3DSeries
继承:

Abstract3DSeries

特性

详细描述

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 .

另请参阅 Qt Data Visualization 数据处理 .

特性文档编制

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.

另请参阅 AbstractGraph3D::clearSelection() .

itemSize : float

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.

另请参阅 AbstractGraph3D::clearSelection() .