PySide6.QtGraphs.QLogValue3DAxisFormatter¶
- class QLogValue3DAxisFormatter¶
The
QLogValue3DAxisFormatter
class provides formatting rules for a logarithmic value axis. More…Synopsis¶
Properties¶
autoSubGridᅟ
- Whether sub-grid positions are generated automaticallybaseᅟ
- Of the logarithm used to map axis valuesedgeLabelsVisibleᅟ
- Whether the first and last label on the axis are visible
Methods¶
def
__init__()
def
autoSubGrid()
def
base()
def
setAutoSubGrid()
def
setBase()
Signals¶
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¶
When a formatter is attached to a value axis, the axis range cannot include negative values or the zero.
See also
Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property autoSubGridᅟ: bool¶
This property holds Whether sub-grid positions are generated automatically..
If this property value is set to
true
, the parent axis sub-segment count is ignored when calculating sub-grid line positions. The sub-grid positions are generated automatically according to thebase
property value. The number of sub-grid lines is set to the base value minus one, rounded down. This property is ignored when the base value is zero. Defaults totrue
.See also
- Access functions:
- property baseᅟ: float¶
This property holds The base of the logarithm used to map axis values..
If the base is non-zero, the parent axis segment count will be ignored when the grid line and label positions are calculated. If you want the range to be divided into equal segments like a normal value axis, set this property value to zero.
The base has to be zero or a positive value and it cannot be equal to one. Defaults to ten.
See also
- Access functions:
Signal
baseChanged()
- property edgeLabelsVisibleᅟ: bool¶
This property holds Whether the first and last label on the axis are visible..
When the
base
property value is non-zero, the whole axis range is often not equally divided into segments. The first and last segments are often smaller than the other segments. In extreme cases, this can lead to overlapping labels on the first and last two grid lines. By setting this property tofalse
, you can suppress showing the minimum and maximum labels for the axis in cases where the segments do not exactly fit the axis. Defaults totrue
.- Access functions:
Constructs a new logarithmic value 3D axis formatter with the optional parent
parent
.- autoSubGrid()¶
- Return type:
bool
See also
Getter of property
autoSubGridᅟ
.- autoSubGridChanged(enabled)¶
- Parameters:
enabled – bool
Notification signal of property
autoSubGridᅟ
.Getter of property
baseᅟ
.- baseChanged(base)¶
- Parameters:
base – float
Notification signal of property
baseᅟ
.- edgeLabelsVisible()¶
- Return type:
bool
See also
Getter of property
edgeLabelsVisibleᅟ
.- edgeLabelsVisibleChanged(enabled)¶
- Parameters:
enabled – bool
Notification signal of property
edgeLabelsVisibleᅟ
.- setAutoSubGrid(enabled)¶
- Parameters:
enabled – bool
See also
Setter of property
autoSubGridᅟ
.Setter of property
baseᅟ
.- setEdgeLabelsVisible(enabled)¶
- Parameters:
enabled – bool
See also
Setter of property
edgeLabelsVisibleᅟ
.