Abstract3DAxis QML Type

A base type for the axes of a 3D graph. For Abstract3DAxis enums, see QAbstract3DAxis::AxisOrientation and QAbstract3DAxis::AxisType. More...

Import Statement: import QtGraphs
In C++: QAbstract3DAxis
Inherited By:

Category3DAxis and Value3DAxis

Properties

Signals

Detailed Description

Property Documentation

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.

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


labelsVisible : bool

Defines whether the axis labels are visible in the primary graph view.

The default value is true.


max : real

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


min : real

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


orientation : Abstract3DAxis.AxisOrientation [read-only]

The orientation of the axis.


title : string

The title for the axis.

See also titleVisible and titleFixed.


titleFixed : bool

The rotation of axis titles.

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 does not have any effect if the labelAutoRotation property value is zero. Default value is true.

See also labelAutoRotation, title, and titleVisible.


titleOffset : real

The position of the axis title on the axis. The value must be between -1.0f and 1.0f

Default value is 0.

See also title and titleVisible.


titleVisible : bool

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

The default value is false.

See also title and titleFixed.


type : Abstract3DAxis.AxisType [read-only]

The type of the axis.


Signal Documentation

autoAdjustRangeChanged(bool autoAdjust)

This signal is emitted when the autoAdjustRange property value changes to autoAdjust.

Note: The corresponding handler is onAutoAdjustRangeChanged.


labelAutoRotationChanged(real angle)

This signal is emitted when the angle of label rotation changes to angle.

Note: The corresponding handler is onLabelAutoRotationChanged.


labelVisibilityChanged(bool visible)

This signal is emitted when the label visibility changes to visible.

Note: The corresponding handler is onLabelVisibilityChanged.


labelsChanged()

This signal is emitted when axis labels change.

Note: The corresponding handler is onLabelsChanged.


maxChanged(real value)

This signal is emitted when the maximum value of the axis changes to value.

Note: The corresponding handler is onMaxChanged.


minChanged(real value)

This signal is emitted when the minimum value of the axis changes to value.

Note: The corresponding handler is onMinChanged.


orientationChanged(AxisOrientation orientation)

This signal is emitted when axis orientation changes to orientation.

Note: The corresponding handler is onOrientationChanged.


rangeChanged(real min, real max)

This signal is emitted when the axis range changes. min and max are the min and max of the new range.

Note: The corresponding handler is onRangeChanged.


titleChanged(string newTitle)

This signal is emitted when title changes to newTitle.

Note: The corresponding handler is onTitleChanged.


titleFixedChanged(bool fixed)

This signal is emitted when the titleFixed property value changes to fixed.

Note: The corresponding handler is onTitleFixedChanged.


titleOffsetChanged(real offset)

This signal is emitted when the titleOffset property value changes to offset.

Note: The corresponding handler is onTitleOffsetChanged.


titleVisibilityChanged(bool visible)

This signal is emitted when the title visibility changes to visible.

Note: The corresponding handler is onTitleVisibilityChanged.


© 2024 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.