class QValue3DAxisFormatter#

Inheritance diagram of PySide6.QtGraphs.QValue3DAxisFormatter

Inherited by: QLogValue3DAxisFormatter

Synopsis#

Methods#

Virtual methods#

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#

__init__([parent=None])#
Parameters:

parentQObject

allowNegatives()#
Return type:

bool

allowZero()#
Return type:

bool

axis()#
Return type:

QValue3DAxis

createNewInstance()#
Return type:

QValue3DAxisFormatter

gridPositions()#
Return type:

.list of float

labelPositions()#
Return type:

.list of float

labelStrings()#
Return type:

list of strings

locale()#
Return type:

QLocale

markDirty([labelsChange=false])#
Parameters:

labelsChange – bool

populateCopy(copy)#
Parameters:

copyQValue3DAxisFormatter

positionAt(value)#
Parameters:

value – float

Return type:

float

recalculate()#
setAllowNegatives(allow)#
Parameters:

allow – bool

setAllowZero(allow)#
Parameters:

allow – bool

setAxis(axis)#
Parameters:

axisQValue3DAxis

setGridPositions(grid_positions)#
Parameters:

grid_positions – .list of float

Sets the normalized grid line positions to grid_positions.

setLabelPositions(label_positions)#
Parameters:

label_positions – .list of float

Sets the normalized label positions to label_positions.

setLabelStrings(label_strings)#
Parameters:

label_strings – list of strings

Sets the label strings to label_strings.

setLocale(locale)#
Parameters:

localeQLocale

stringForValue(value, format)#
Parameters:
  • value – float

  • format – str

Return type:

str

subGridPositions()#
Return type:

.list of float

valueAt(position)#
Parameters:

position – float

Return type:

float