AbstractAxis3D QML Type
图形坐标轴的基本类型。更多
Import Statement: | import QtDataVisualization 1.9 |
Since: | QtDataVisualization 1.0 |
In C++: | QAbstract3DAxis |
Inherited By: |
属性
- autoAdjustRange : bool
- labelAutoRotation : real
- labels : list
- max : real
- min : real
- orientation : AbstractAxis3D.AxisOrientation
- title : string
- titleFixed : bool
- titleVisible : bool
- type : AbstractAxis3D.AxisType
详细说明
该类型不可创建,但包含通过子类型公开的属性。
有关 AbstractAxis3D 枚举,请参见QAbstract3DAxis::AxisOrientation 和QAbstract3DAxis::AxisType 。
属性文档
autoAdjustRange : bool |
定义轴是否会自动调整范围,使所有数据都适合该范围。
labelAutoRotation : real |
当摄像机角度发生变化时,标签可自动旋转的最大角度。角度范围为 0 至 90(含 90)。默认值为 0。如果该值为 0,轴标签不会自动旋转。如果该值大于 0,标签会尝试朝向摄像机,直至达到指定角度。
labels : list |
轴的标签。
注: 为ValueAxis3D 设置此属性没有任何作用,因为它会自动生成标签。
max : real |
轴上的最大值。设置此属性时,必要时会调整最小值,以确保范围保持有效。
min : real |
轴上的最小值。设置此属性时,必要时会调整最大值,以确保范围保持有效。
orientation : AbstractAxis3D.AxisOrientation |
轴的方向。
title : string |
轴的标题。
另请参阅 titleVisible 和titleFixed 。
titleFixed : bool |
轴标题的旋转。
如果true
,主图视图中的轴标题将与轴标签一样朝摄像机方向旋转。如果为false
,则轴标题只会绕轴旋转,而不会朝向摄像机。如果labelAutoRotation 属性值为零,则此属性不会有任何影响。默认值为true
。
另请参阅 labelAutoRotation 、title 和titleVisible 。
titleVisible : bool |
type : AbstractAxis3D.AxisType |
轴的类型。
© 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.