AbstractAxis3D QML Type

A base type for the axes of a graph. 更多...

import 語句: import QtDataVisualization 1.2
Since: QtDataVisualization 1.0
實例化: QAbstract3DAxis
繼承者: CategoryAxis3D and ValueAxis3D

特性

詳細描述

This type is uncreatable, but contains properties that are exposed via subtypes.

For AbstractAxis3D enums, see QAbstract3DAxis::AxisOrientation and QAbstract3DAxis::AxisType .

特性文檔編製

autoAdjustRange : bool

Defines whether the axis will automatically adjust the range so that all data fits in it.

labelAutoRotation : real

The maximum angle the labels can autorotate when the camera angle changes. The angle can be between 0 and 90, inclusive. The default value is 0. If the value is 0, axis labels do not automatically rotate. If the value is greater than zero, labels attempt to orient themselves toward the camera, up to the specified angle.

labels : list

The labels for the axis.

注意: Setting this property for ValueAxis3D does nothing, as it generates labels automatically.

max : real

The maximum value on the axis. When setting this property, the minimum value is adjusted if necessary, to ensure that the range remains valid.

min : real

The minimum value on the axis. When setting this property, the maximum value is adjusted if necessary, to ensure that the range remains valid.

orientation : AbstractAxis3D . AxisOrientation

The orientation of the axis.

title : string

The title for the axis.

另請參閱 titleVisible and titleFixed .

titleFixed : bool

The rotation of axis titles.

true , axis titles in the primary graph view will be rotated towards the camera similarly to the axis labels. If false , axis titles are only rotated around their axis but are not otherwise oriented towards the camera. This property does not have any effect if the labelAutoRotation 特性值為 0。默認值為 true .

另請參閱 labelAutoRotation , title ,和 titleVisible .

titleVisible : bool

Defines whether the axis title is visible in the primary graph view.

默認值為 false .

另請參閱 title and titleFixed .

type : AbstractAxis3D . AxisType

The type of the axis.