Scatter3DSeries QML Type
表示三维散点图中的数据序列。更多...
| Import Statement: | import QtDataVisualization 1.12 |
| Since: | QtDataVisualization 1.0 |
| In C++: | QScatter3DSeries |
| Inherits: | |
| Status: | Deprecated |
此类型已弃用。我们强烈建议不要在新代码中使用它。
属性
- dataProxy : ScatterDataProxy
- invalidSelectionIndex : int
- itemSize : real
- selectedItem : int
详细说明
此类负责管理该系列特有的视觉元素,以及该系列的数据(通过数据代理)。
如需更完整的说明,请参阅QScatter3DSeries 。
另请参阅 Qt Data Visualization 数据处理。
属性文档
dataProxy : ScatterDataProxy
设置活动数据代理。该系列将接管其设置的任何代理,并在添加新代理时删除先前设置的代理。代理不能为空,也不能设置为另一个系列。
invalidSelectionIndex : int
一个常量属性,用于提供用于取消选择的无效索引。将该索引设置为selectedItem 属性,即可清除该系列中的选择。
另请参阅 AbstractGraph3D::clearSelection()。
itemSize : real
设置系列的项目大小。大小必须在0.0 和1.0 之间。将大小设置为0.0 时,系统会根据图表中所有系列的项目总数自动调整项目大小。预设默认值为0.0 。
selectedItem : int
该系列数据数组中位于指定索引位置的选中项。每次只能选中一项。若要清除该系列中的选中状态,请将索引设置为invalidSelectionIndex 。如果将该系列添加到图表中,图表可根据用户交互或当选中状态失效时自动调整选中状态。 在另一个已添加的系列上选择项目也会清除当前的选择。从该系列中删除项目或在选定项目之前插入项目时,系统会调整选择范围,以确保该项目仍保持被选中状态。
另请参阅 AbstractGraph3D::clearSelection()。
© 2026 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.