Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.15.1, 6.2.4
-
-
14688ccb30 (qt/qtcharts/dev) 14688ccb30 (qt/tqtc-qtcharts/dev) de49cd36d8 (qt/tqtc-qtcharts/6.2) 73cccf8961 (qt/tqtc-qtcharts/5.15) de49cd36d8 (qt/tqtc-qtcharts/6.2.5) 6842579f61 (qt/qtcharts/6.3) f7d000029c (qt/qtcharts/6.4)
Description
Hello,
When using QCharts there is an edge case which causes the X-axis to vanish which can come up when trying to use a QDateTimeAxis. If the minimum x-axis value has 13 digits or more, then the x-axis will disappear if the range of the x-axis is less than two.
It is possible for this to come up when using a QDateTimeAxis as you need to use MSecsSinceEpoch resulting in vary large values on the x-axis. I have attached an example which shows the situation where the x-axis will disappear.