PySide6.QtGraphs.QDateTimeAxis¶
- class QDateTimeAxis¶
The
QDateTimeAxis
adds support for DateTime values to be added to a graph’s axis. More…Added in version 6.8.
Synopsis¶
Properties¶
Methods¶
def
__init__()
def
format()
def
max()
def
min()
def
setFormat()
def
setMax()
def
setMin()
def
setRange()
def
setTickCount()
def
tickCount()
Signals¶
def
formatChanged()
def
maxChanged()
def
minChanged()
def
rangeChanged()
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¶
A DateTime Axis can be used to display DateTime representations with tick marks and grid lines. The DateTime items on the axis are displayed at the position of the ticks.
Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property formatᅟ: str¶
- Access functions:
Signal
formatChanged()
This property holds The maximum value on the axis.
This value can be lower or higher than the minimum. The DateTime is stored as UTC internally. The default value is new Date(1980,1,1)
- Access functions:
Signal
maxChanged()
This property holds The minimum value on the axis.
This value can be lower or higher than the maximum. The DateTime is stored as UTC internally. The default value is new Date(1970,1,1)
- Access functions:
Signal
minChanged()
- property tickCountᅟ: int¶
- Access functions:
- format()¶
- Return type:
str
Getter of property
formatᅟ
.- formatChanged(format)¶
- Parameters:
format – str
Notification signal of property
formatᅟ
.Getter of property
maxᅟ
.Notification signal of property
maxᅟ
.Getter of property
minᅟ
.Notification signal of property
minᅟ
.- setFormat(format)¶
- Parameters:
format – str
Setter of property
formatᅟ
.Setter of property
maxᅟ
.Setter of property
minᅟ
.- setTickCount(count)¶
- Parameters:
count – int
Setter of property
tickCountᅟ
.- tickCount()¶
- Return type:
int
Getter of property
tickCountᅟ
.- tickCountChanged(tick)¶
- Parameters:
tick – int
Notification signal of property
tickCountᅟ
.