QAbstract3DAxis

The QAbstract3DAxis class is a base class for the axes of a graph. More

Inheritance diagram of PySide6.QtDataVisualization.QAbstract3DAxis

Inherited by: QValue3DAxis, QCategory3DAxis

Synopsis

Functions

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.

class PySide6.QtDataVisualization.QAbstract3DAxis
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

PySide6.QtDataVisualization.QAbstract3DAxis.isAutoAdjustRange()
Return type

bool

PySide6.QtDataVisualization.QAbstract3DAxis.isTitleFixed()
Return type

bool

PySide6.QtDataVisualization.QAbstract3DAxis.isTitleVisible()
Return type

bool

PySide6.QtDataVisualization.QAbstract3DAxis.labelAutoRotation()
Return type

float

PySide6.QtDataVisualization.QAbstract3DAxis.labelAutoRotationChanged(angle)
Parameters

angle – float

PySide6.QtDataVisualization.QAbstract3DAxis.labels()
Return type

list of strings

See also

setLabels()

PySide6.QtDataVisualization.QAbstract3DAxis.labelsChanged()
PySide6.QtDataVisualization.QAbstract3DAxis.max()
Return type

float

See also

setMax()

PySide6.QtDataVisualization.QAbstract3DAxis.maxChanged(value)
Parameters

value – float

PySide6.QtDataVisualization.QAbstract3DAxis.min()
Return type

float

See also

setMin()

PySide6.QtDataVisualization.QAbstract3DAxis.minChanged(value)
Parameters

value – float

PySide6.QtDataVisualization.QAbstract3DAxis.orientation()
Return type

AxisOrientation

PySide6.QtDataVisualization.QAbstract3DAxis.orientationChanged(orientation)
Parameters

orientationAxisOrientation

PySide6.QtDataVisualization.QAbstract3DAxis.rangeChanged(min, max)
Parameters
  • min – float

  • max – float

PySide6.QtDataVisualization.QAbstract3DAxis.setAutoAdjustRange(autoAdjust)
Parameters

autoAdjust – bool

PySide6.QtDataVisualization.QAbstract3DAxis.setLabelAutoRotation(angle)
Parameters

angle – float

PySide6.QtDataVisualization.QAbstract3DAxis.setLabels(labels)
Parameters

labels – list of strings

See also

labels()

PySide6.QtDataVisualization.QAbstract3DAxis.setMax(max)
Parameters

max – float

See also

max()

PySide6.QtDataVisualization.QAbstract3DAxis.setMin(min)
Parameters

min – float

See also

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

title()

PySide6.QtDataVisualization.QAbstract3DAxis.setTitleFixed(fixed)
Parameters

fixed – bool

See also

isTitleFixed()

PySide6.QtDataVisualization.QAbstract3DAxis.setTitleVisible(visible)
Parameters

visible – bool

See also

isTitleVisible()

PySide6.QtDataVisualization.QAbstract3DAxis.title()
Return type

str

See also

setTitle()

PySide6.QtDataVisualization.QAbstract3DAxis.titleChanged(newTitle)
Parameters

newTitle – str

PySide6.QtDataVisualization.QAbstract3DAxis.titleFixedChanged(fixed)
Parameters

fixed – bool

PySide6.QtDataVisualization.QAbstract3DAxis.titleVisibilityChanged(visible)
Parameters

visible – bool

PySide6.QtDataVisualization.QAbstract3DAxis.type()
Return type

AxisType