DateTimeAxis QML Type
Adds dates and times to a chart's axis. More...
|Import Statement:||import QtCharts 2.6|
- rangeChanged(datetime min, datetime max)
The DateTimeAxis type can be set up to show an axis line with tick marks, grid lines, and shades. The axis labels display dates and times and can be configured by setting an appropriate DateTime format.
Note: Any date before 4714 BCE or after about 1.4 million CE may not be accurately stored.
format : string
max : datetime
The maximum value on the axis.
When setting this property, the minimum value is adjusted if necessary, to ensure that the range remains valid.
min : datetime
The minimum value on the axis.
When setting this property, the maximum value is adjusted if necessary, to ensure that the range remains valid.
tickCount : int
The number of tick marks on the axis.
rangeChanged(datetime min, datetime max)
This signal is emitted when the minimum or maximum value of the axis, specified by min and max, changes.
The corresponding signal handler is
© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.