Represents a data series in a 3D scatter graph. 更多...
| import 语句: |
import QtGraphs
|
| 在 C++: | QScatter3DSeries |
| 继承: | |
| 继承者: |
(从 6.10 起)
(从 6.10 起)
This type manages the series specific visual elements, as well as the series data (via a data proxy).
Scatter3DSeries supports the following format tags for itemLabelFormat:
| @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 labelFormat . |
| @yLabel | Item value formatted using the format of the y-axis. For more information, see labelFormat . |
| @zLabel | Item value formatted using the format of the z-axis. For more information, see labelFormat . |
| @seriesName | Name of the series |
For a more complete description, see QScatter3DSeries .
另请参阅 Qt Graphs Data Handling with 3D .
|
baseColor : color |
The base color of the series.
另请参阅 colorStyle and GraphsTheme.seriesColors .
|
baseGradient : 渐变 |
The base gradient of the series.
另请参阅 colorStyle .
|
colorStyle : GraphsTheme . ColorStyle |
The color style for the series.
另请参阅 GraphsTheme.ColorStyle .
|
dataArray : ScatterDataArray |
Holds the reference to the data array.
dataArrayChanged signal is emitted when data array is set, unless newDataArray is identical to the previous one.
注意: Before doing anything regarding the data array, a series must be created for the relevant proxy.
|
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 : qsizetype |
A constant property providing an invalid index for selection. This index is set to the selectedItem property to clear the selection from this series.
另请参阅 GraphsItem3D::clearSelection ().
|
itemLabel
:
string
|
The formatted item label. If there is no selected item or the selected item is not visible, returns an empty string.
另请参阅 itemLabelFormat .
|
itemLabelFormat : string |
The label format for data items in this series. This format is used for single item labels, for example, when an item is selected. How the format is interpreted depends on series type.
另请参阅 Bar3DSeries , Scatter3DSeries ,和 Surface3DSeries .
|
itemLabelVisible : bool |
若
true
, item labels are drawn as floating labels in the graph. Otherwise, item labels are not drawn. To show the item label in an external control, this property is set to
false
。默认为
true
.
另请参阅 itemLabelFormat and itemLabel .
|
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
.
|
lightingMode
:
Abstract3DSeries
.
LightingMode
|
The lighting mode of the items in the series. The default value is QAbstract3DSeries::LightingMode::Shaded
此特性在 Qt 6.10 引入。
另请参阅 QAbstract3DSeries::LightingMode .
|
mesh : Abstract3DSeries . Mesh |
The mesh of the items in the series, or the selection pointer in case of Surface3DSeries . If the mesh is Abstract3DSeries.Mesh.UserDefined , then the userDefinedMesh property must also be set for items to render properly. The default value depends on the graph type.
另请参阅 QAbstract3DSeries::Mesh .
|
meshRotation : quaternion |
The mesh rotation that is applied to all items of the series. The rotation should be a normalized quaternion. For those series types that support item specific rotation, the rotations are multiplied together. Bar3DSeries ignores any rotation that is not around the y-axis. Surface3DSeries applies the rotation only to the selection pointer. Defaults to no rotation.
|
meshSmooth : bool |
若
true
, smooth versions of predefined meshes set via the
mesh
property are used. This property does not affect custom meshes used when the mesh is set to
Abstract3DSeries.Mesh.UserDefined
。默认为
false
.
|
multiHighlightColor : color |
The multiple item highlight color of the series.
另请参阅 colorStyle and GraphsTheme.multiHighlightColor .
|
multiHighlightGradient : 渐变 |
The multiple item highlight gradient of the series.
另请参阅 colorStyle and GraphsTheme.multiHighlightGradient .
|
名称 : string |
The series name. It can be used in item label format with the tag
@seriesName
.
另请参阅 itemLabelFormat .
|
selectedItem : qsizetype |
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 the selection from this series, the 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 into the series before the selected item will adjust the selection so that the same item will stay selected.
另请参阅 GraphsItem3D::clearSelection ().
|
singleHighlightColor : color |
The single item highlight color of the series.
另请参阅 colorStyle and GraphsTheme.singleHighlightColor .
|
singleHighlightGradient : 渐变 |
The single item highlight gradient of the series.
另请参阅 colorStyle and GraphsTheme.singleHighlightGradient .
|
type
:
Abstract3DSeries
.
SeriesType
|
The type of the series. One of the QAbstract3DSeries::SeriesType 值。
|
userDefinedMesh : string |
The filename for a user defined custom mesh for objects that is used when mesh is Abstract3DSeries.Mesh.UserDefined .
注意:
The file needs to be in the
QtQuick3D
mesh format. Use the
balsam
conversion tool to create a mesh from other 3D model formats.
|
visible : bool |
The visibility of the series. If
false
, the series is not rendered.
|
baseColorChanged ( color color ) |
此信号发射,当 baseColor changes to color .
注意:
相应处理程序是
onBaseColorChanged
.
|
baseGradientChanged ( 渐变 gradient ) |
此信号发射,当 baseGradient changes to gradient .
注意:
相应处理程序是
onBaseGradientChanged
.
|
colorStyleChanged ( GraphsTheme . ColorStyle style ) |
此信号发射,当 colorStyle changes to style .
注意:
相应处理程序是
onColorStyleChanged
.
|
dataArrayChanged ( ScatterDataArray array ) |
此信号发射,当 dataArray changes to array .
注意:
相应处理程序是
onDataArrayChanged
.
|
dataProxyChanged ( ScatterDataProxy proxy ) |
此信号发射,当 dataProxy changes to proxy .
注意:
相应处理程序是
onDataProxyChanged
.
|
itemLabelChanged ( string label ) |
此信号发射,当 itemLabel changes to label .
注意:
相应处理程序是
onItemLabelChanged
.
|
itemLabelFormatChanged ( string format ) |
此信号发射,当 itemLabelFormat changes to format .
注意:
相应处理程序是
onItemLabelFormatChanged
.
|
itemLabelVisibilityChanged ( bool visible ) |
This signal is emitted when itemLabelVisibility changes to visible .
注意:
相应处理程序是
onItemLabelVisibilityChanged
.
|
itemSizeChanged ( float size ) |
此信号发射,当 itemSize changes to size .
注意:
相应处理程序是
onItemSizeChanged
.
|
|
此信号发射,当 lightingMode changes to lightingMode .
注意:
相应处理程序是
onLightingModeChanged
.
This signal was introduced in Qt 6.10.
|
meshChanged ( Abstract3DSeries . Mesh mesh ) |
此信号发射,当 mesh changes to mesh .
注意:
相应处理程序是
onMeshChanged
.
|
meshRotationChanged ( quaternion rotation ) |
此信号发射,当 meshRotation changes to rotation .
注意:
相应处理程序是
onMeshRotationChanged
.
|
meshSmoothChanged ( bool enabled ) |
此信号发射,当 meshSmooth changes to enabled .
注意:
相应处理程序是
onMeshSmoothChanged
.
|
multiHighlightColorChanged ( color color ) |
此信号发射,当 multiHighlightColor changes to color .
注意:
相应处理程序是
onMultiHighlightColorChanged
.
|
multiHighlightGradientChanged ( 渐变 gradient ) |
此信号发射,当 multiHighlightGradient changes to gradient .
注意:
相应处理程序是
onMultiHighlightGradientChanged
.
|
nameChanged ( string name ) |
此信号发射,当 name changes to name .
注意:
相应处理程序是
onNameChanged
.
|
selectedItemChanged ( qsizetype index ) |
此信号发射,当 selectedItem changes to index .
注意:
相应处理程序是
onSelectedItemChanged
.
|
singleHighlightColorChanged ( color color ) |
此信号发射,当 singleHighlightColor changes to color .
注意:
相应处理程序是
onSingleHighlightColorChanged
.
|
singleHighlightGradientChanged ( 渐变 gradient ) |
此信号发射,当 singleHighlightGradient changes to gradient .
注意:
相应处理程序是
onSingleHighlightGradientChanged
.
|
splineColorChanged ( color color ) |
This signal is emitted when splineColor changes to color .
注意:
相应处理程序是
onSplineColorChanged
.
|
splineKnottingChanged ( real knotting ) |
This signal is emitted when splineKnotting changes to knotting .
注意:
相应处理程序是
onSplineKnottingChanged
.
|
splineLoopingChanged ( bool looping ) |
This signal is emitted when splineLooping changes to looping .
注意:
相应处理程序是
onSplineLoopingChanged
.
|
splineResolutionChanged ( int resolution ) |
This signal is emitted when splineResolution changes to resolution .
注意:
相应处理程序是
onSplineResolutionChanged
.
|
splineTensionChanged ( real tension ) |
This signal is emitted when splineTension changes to tension .
注意:
相应处理程序是
onSplineTensionChanged
.
|
splineVisibilityChanged ( bool visible ) |
This signal is emitted when splineVisible changes to visible .
注意:
相应处理程序是
onSplineVisibilityChanged
.
|
userDefinedMeshChanged ( string fileName ) |
此信号发射,当 userDefinedMesh changes to fileName .
注意:
相应处理程序是
onUserDefinedMeshChanged
.
|
visibilityChanged ( bool visible ) |
This signal is emitted when the series visibility changes to visible .
注意:
相应处理程序是
onVisibilityChanged
.
A convenience function to construct a mesh rotation quaternion from axis and angle .
另请参阅 meshRotation .