QValue3DAxisFormatter#
Inherited by: QLogValue3DAxisFormatter
Synopsis#
Functions#
def
allowNegatives
()def
allowZero
()def
axis
()def
gridPositions
()def
labelPositions
()def
labelStrings
()def
locale
()def
markDirty
([labelsChange=false])def
setAllowNegatives
(allow)def
setAllowZero
(allow)def
setAxis
(axis)def
setGridPositions
(grid_positions)def
setLabelPositions
(label_positions)def
setLabelStrings
(label_strings)def
setLocale
(locale)def
subGridPositions
()
Virtual functions#
def
createNewInstance
()def
populateCopy
(copy)def
positionAt
(value)def
recalculate
()def
stringForValue
(value, format)def
valueAt
(position)
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#
- class PySide6.QtGraphs.QValue3DAxisFormatter([parent=None])#
- Parameters:
parent –
PySide6.QtCore.QObject
- PySide6.QtGraphs.QValue3DAxisFormatter.allowNegatives()#
- Return type:
bool
- PySide6.QtGraphs.QValue3DAxisFormatter.allowZero()#
- Return type:
bool
- PySide6.QtGraphs.QValue3DAxisFormatter.axis()#
- Return type:
- PySide6.QtGraphs.QValue3DAxisFormatter.createNewInstance()#
- Return type:
- PySide6.QtGraphs.QValue3DAxisFormatter.gridPositions()#
- Return type:
.list of float
- PySide6.QtGraphs.QValue3DAxisFormatter.labelPositions()#
- Return type:
.list of float
- PySide6.QtGraphs.QValue3DAxisFormatter.labelStrings()#
- Return type:
list of strings
- PySide6.QtGraphs.QValue3DAxisFormatter.locale()#
- Return type:
- PySide6.QtGraphs.QValue3DAxisFormatter.markDirty([labelsChange=false])#
- Parameters:
labelsChange – bool
- PySide6.QtGraphs.QValue3DAxisFormatter.populateCopy(copy)#
- Parameters:
- PySide6.QtGraphs.QValue3DAxisFormatter.positionAt(value)#
- Parameters:
value – float
- Return type:
float
- PySide6.QtGraphs.QValue3DAxisFormatter.recalculate()#
- PySide6.QtGraphs.QValue3DAxisFormatter.setAllowNegatives(allow)#
- Parameters:
allow – bool
- PySide6.QtGraphs.QValue3DAxisFormatter.setAllowZero(allow)#
- Parameters:
allow – bool
- PySide6.QtGraphs.QValue3DAxisFormatter.setAxis(axis)#
- Parameters:
- PySide6.QtGraphs.QValue3DAxisFormatter.setGridPositions(grid_positions)#
- Parameters:
grid_positions – .list of float
Sets the normalized grid line positions to
grid_positions
.
- PySide6.QtGraphs.QValue3DAxisFormatter.setLabelPositions(label_positions)#
- Parameters:
label_positions – .list of float
Sets the normalized label positions to
label_positions
.
- PySide6.QtGraphs.QValue3DAxisFormatter.setLabelStrings(label_strings)#
- Parameters:
label_strings – list of strings
Sets the label strings to
label_strings
.
- PySide6.QtGraphs.QValue3DAxisFormatter.setLocale(locale)#
- Parameters:
locale –
PySide6.QtCore.QLocale
- PySide6.QtGraphs.QValue3DAxisFormatter.stringForValue(value, format)#
- Parameters:
value – float
format – str
- Return type:
str
- PySide6.QtGraphs.QValue3DAxisFormatter.subGridPositions()#
- Return type:
.list of float
- PySide6.QtGraphs.QValue3DAxisFormatter.valueAt(position)#
- Parameters:
position – float
- Return type:
float