Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-102392

X-axis vanishes when difference between min and max is less than two

    XMLWordPrintable

Details

    • Windows
    • 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. 

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tuliniemi Jere Tuliniemi
            benjamin.hadra Benjamin Hadra
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes