Scatter3DSeries QML Type

表示三维散点图中的数据序列。更多

Import Statement: import QtDataVisualization 1.9
Since: QtDataVisualization 1.0
In C++: QScatter3DSeries
Inherits:

Abstract3DSeries

属性

详细说明

该类型管理特定系列的可视化元素以及系列数据(通过数据代理)。

有关更完整的描述,请参阅QScatter3DSeries

另请参阅 Qt Data Visualization 数据处理

属性文档

dataProxy : ScatterDataProxy

设置活动数据代理。序列将拥有为其设置的任何代理,并在添加新代理时删除之前设置的任何代理。代理不能为空或设置为其他系列。


invalidSelectionIndex : int

常数属性提供了一个用于选择的无效索引。将该索引设置为selectedItem 属性,可清除该系列中的选择。

另请参阅 AbstractGraph3D::clearSelection()。


itemSize : real

设置系列的项目大小。大小必须介于0.01.0 之间。将大小设置为0.0 会导致项目大小根据图表中所有系列的项目总数自动缩放。预设默认值为0.0


selectedItem : int

在系列数据数组的索引中选择的项目。一次只能选择一个项目。要从该系列中清除选择,invalidSelectionIndex 设置为索引。如果将此系列添加到图表中,图表会根据用户交互或选择无效的情况调整选择。选择另一个已添加系列中的项目也会清除选择。在所选项目之前从系列中删除项目或插入项目,都会调整选区,使同一项目保持选中状态。

另请参阅 AbstractGraph3D::clearSelection()。


© 2025 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.