Qt 5.8 | Qt Data Visualization | QML Types | AbstractAxis3D QML Type

Qt 5.8.0 Reference Documentation

# AbstractAxis3D QML Type

AbstractAxis3D is base type for axes of a graph. More...

Import Statement: | import QtDataVisualization 1.2
Since: | QtDataVisualization 1.0
Instantiates: | QAbstract3DAxis
Inherited By: | CategoryAxis3D and ValueAxis3D

- List of all members, including inherited members

## Properties

- autoAdjustRange : bool
- labelAutoRotation : real
- labels : list
- max : real
- min : real
- orientation : AbstractAxis3D.AxisOrientation
- title : string
- titleFixed : bool
- titleVisible : bool
- type : AbstractAxis3D.AxisType

## Detailed Description

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

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

## Property Documentation

autoAdjustRange : bool

If set, the axis will automatically adjust the range so that all data fits in it.

labelAutoRotation : real

Defines 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

Defines the labels for the axis.

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

max : real

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

min : real

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

orientation : AbstractAxis3D.AxisOrientation

Defines the orientation of the axis.

title : string

Defines the title for the axis.

See also titleVisible and titleFixed.

titleFixed : bool

If `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 doesn't have any effect if labelAutoRotation property value is zero. Default value is `true`.

See also labelAutoRotation, title, and titleVisible.

titleVisible : bool

Defines if the axis title is visible in the primary graph view. The default value is `false`.

See also title and titleFixed.

type : AbstractAxis3D.AxisType

Defines the type of the axis.