QAbstract3DAxis#
The QAbstract3DAxis
class is a base class for the axes of a graph. More…
Inherited by: QValue3DAxis, QCategory3DAxis
Synopsis#
Properties#
autoAdjustRange
- Whether the axis will automatically adjust the range so that all data fits in itlabelAutoRotation
- Maximum angle the labels can autorotate when the camera angle changeslabels
- For the axismax
- Maximum value on the axismin
- Minimum value on the axisorientation
- Of the axistitle
- For the axistitleFixed
- Rotation of the axis titlestitleVisible
- Whether the axis title is visible in the primary graph viewtype
- Of the axis
Functions#
def
isAutoAdjustRange
()def
isTitleFixed
()def
isTitleVisible
()def
labelAutoRotation
()def
labels
()def
max
()def
min
()def
orientation
()def
setAutoAdjustRange
(autoAdjust)def
setLabelAutoRotation
(angle)def
setLabels
(labels)def
setMax
(max)def
setMin
(min)def
setRange
(min, max)def
setTitle
(title)def
setTitleFixed
(fixed)def
setTitleVisible
(visible)def
title
()def
type
()
Signals#
def
autoAdjustRangeChanged
(autoAdjust)def
labelAutoRotationChanged
(angle)def
labelsChanged
()def
maxChanged
(value)def
minChanged
(value)def
orientationChanged
(orientation)def
rangeChanged
(min, max)def
titleChanged
(newTitle)def
titleFixedChanged
(fixed)def
titleVisibilityChanged
(visible)
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description#
This class specifies the enumerations, properties, and functions shared by graph axes. It should not be used directly, but one of its subclasses should be used instead.
See also
- class PySide6.QtDataVisualization.QAbstract3DAxis#
Note
Properties can be used directly when from __feature__ import true_property
is used or via accessor functions otherwise.
- property PᅟySide6.QtDataVisualization.QAbstract3DAxis.autoAdjustRange: bool#
This property holds Whether the axis will automatically adjust the range so that all data fits in it..
See also
- Access functions:
setAutoAdjustRange
(autoAdjust)Signal
autoAdjustRangeChanged
(autoAdjust)
- property PᅟySide6.QtDataVisualization.QAbstract3DAxis.labelAutoRotation: float#
This property holds 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.
- Access functions:
setLabelAutoRotation
(angle)Signal
labelAutoRotationChanged
(angle)
- property PᅟySide6.QtDataVisualization.QAbstract3DAxis.labels: list of strings#
This property holds The labels for the axis..
Note
Setting this property for QValue3DAxis
does nothing, as it generates labels automatically.
- Access functions:
labels
()setLabels
(labels)Signal
labelsChanged
()
- property PᅟySide6.QtDataVisualization.QAbstract3DAxis.max: float#
This property holds The maximum value on the axis..
When setting this property, the minimum value is adjusted if necessary, to ensure that the range remains valid.
Note
For QCategory3DAxis
, specifies the index of the last row or column to show.
- Access functions:
max
()setMax
(max)Signal
maxChanged
(value)
- property PᅟySide6.QtDataVisualization.QAbstract3DAxis.min: float#
This property holds The minimum value on the axis..
When setting this property, the maximum value is adjusted if necessary, to ensure that the range remains valid.
Note
For QCategory3DAxis
, specifies the index of the first row or column to show.
- Access functions:
min
()setMin
(min)Signal
minChanged
(value)
- property PᅟySide6.QtDataVisualization.QAbstract3DAxis.orientation: AxisOrientation#
This property holds The orientation of the axis..
The value is one of AxisOrientation
values.
- Access functions:
orientation
()Signal
orientationChanged
(orientation)
- property PᅟySide6.QtDataVisualization.QAbstract3DAxis.title: str#
This property holds The title for the axis..
See also
titleVisible
titleFixed
- Access functions:
title
()setTitle
(title)Signal
titleChanged
(newTitle)
- property PᅟySide6.QtDataVisualization.QAbstract3DAxis.titleFixed: bool#
This property holds The rotation of the 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
titleVisible
- Access functions:
isTitleFixed
()setTitleFixed
(fixed)Signal
titleFixedChanged
(fixed)
- property PᅟySide6.QtDataVisualization.QAbstract3DAxis.titleVisible: bool#
This property holds Whether the axis title is visible in the primary graph view..
The default value is false
.
See also
title
titleFixed
- Access functions:
setTitleVisible
(visible)Signal
titleVisibilityChanged
(visible)
- property PᅟySide6.QtDataVisualization.QAbstract3DAxis.type: AxisType#
This property holds The type of the axis..
The value is one of AxisType
values.
- Access functions:
type
()
- PySide6.QtDataVisualization.QAbstract3DAxis.AxisOrientation#
The orientation of the axis object.
Constant
Description
QAbstract3DAxis.AxisOrientationNone
QAbstract3DAxis.AxisOrientationX
QAbstract3DAxis.AxisOrientationY
QAbstract3DAxis.AxisOrientationZ
- PySide6.QtDataVisualization.QAbstract3DAxis.AxisType#
The type of the axis object.
Constant
Description
QAbstract3DAxis.AxisTypeNone
QAbstract3DAxis.AxisTypeCategory
QAbstract3DAxis.AxisTypeValue
- PySide6.QtDataVisualization.QAbstract3DAxis.autoAdjustRangeChanged(autoAdjust)#
- Parameters:
autoAdjust – bool
Notification signal of property autoAdjustRange
.
- PySide6.QtDataVisualization.QAbstract3DAxis.isAutoAdjustRange()#
- Return type:
bool
Getter of property autoAdjustRange
.
- PySide6.QtDataVisualization.QAbstract3DAxis.isTitleFixed()#
- Return type:
bool
Getter of property titleFixed
.
- PySide6.QtDataVisualization.QAbstract3DAxis.isTitleVisible()#
- Return type:
bool
Getter of property titleVisible
.
- PySide6.QtDataVisualization.QAbstract3DAxis.labelAutoRotation()#
- Return type:
float
See also
Getter of property labelAutoRotation
.
- PySide6.QtDataVisualization.QAbstract3DAxis.labelAutoRotationChanged(angle)#
- Parameters:
angle – float
Notification signal of property labelAutoRotation
.
- PySide6.QtDataVisualization.QAbstract3DAxis.labels()#
- Return type:
list of strings
See also
Getter of property labels
.
- PySide6.QtDataVisualization.QAbstract3DAxis.labelsChanged()#
Notification signal of property labels
.
Getter of property max
.
- PySide6.QtDataVisualization.QAbstract3DAxis.maxChanged(value)#
- Parameters:
value – float
Notification signal of property max
.
Getter of property min
.
- PySide6.QtDataVisualization.QAbstract3DAxis.minChanged(value)#
- Parameters:
value – float
Notification signal of property min
.
- PySide6.QtDataVisualization.QAbstract3DAxis.orientation()#
- Return type:
Getter of property orientation
.
- PySide6.QtDataVisualization.QAbstract3DAxis.orientationChanged(orientation)#
- Parameters:
orientation –
AxisOrientation
Notification signal of property orientation
.
- PySide6.QtDataVisualization.QAbstract3DAxis.rangeChanged(min, max)#
- Parameters:
min – float
max – float
Emits the minimum and maximum values of the range, min
and max
, when the range changes.
- PySide6.QtDataVisualization.QAbstract3DAxis.setAutoAdjustRange(autoAdjust)#
- Parameters:
autoAdjust – bool
See also
Setter of property autoAdjustRange
.
- PySide6.QtDataVisualization.QAbstract3DAxis.setLabelAutoRotation(angle)#
- Parameters:
angle – float
See also
Setter of property labelAutoRotation
.
- PySide6.QtDataVisualization.QAbstract3DAxis.setLabels(labels)#
- Parameters:
labels – list of strings
See also
Setter of property labels
.
Setter of property max
.
Setter of property min
.
- PySide6.QtDataVisualization.QAbstract3DAxis.setRange(min, max)#
- Parameters:
min – float
max – float
Sets the value range of the axis from min
to max
. When setting the range, the maximum value is adjusted if necessary, to ensure that the range remains valid.
Note
For QCategory3DAxis
, specifies the index range of rows or columns to show.
- PySide6.QtDataVisualization.QAbstract3DAxis.setTitle(title)#
- Parameters:
title – str
See also
Setter of property title
.
- PySide6.QtDataVisualization.QAbstract3DAxis.setTitleFixed(fixed)#
- Parameters:
fixed – bool
See also
Setter of property titleFixed
.
- PySide6.QtDataVisualization.QAbstract3DAxis.setTitleVisible(visible)#
- Parameters:
visible – bool
See also
Setter of property titleVisible
.
- PySide6.QtDataVisualization.QAbstract3DAxis.title()#
- Return type:
str
See also
Getter of property title
.
- PySide6.QtDataVisualization.QAbstract3DAxis.titleChanged(newTitle)#
- Parameters:
newTitle – str
Notification signal of property title
.
- PySide6.QtDataVisualization.QAbstract3DAxis.titleFixedChanged(fixed)#
- Parameters:
fixed – bool
Notification signal of property titleFixed
.
- PySide6.QtDataVisualization.QAbstract3DAxis.titleVisibilityChanged(visible)#
- Parameters:
visible – bool
Notification signal of property titleVisible
.
Getter of property type
.