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

QtCharts::QValueAxis doesn't work with small numbers (<1e-12)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.2
    • Fix Version/s: None
    • Component/s: Charts
    • Labels:
      None

      Description

      It seems charts are not drawn correctly if they have a QValueAxis containing small values (<1e-12).

      See attached example main.cpp - The chart is drawn when scale is 1e-12, but is not drawn when scale is 1e-13 or lower.

      Note that occasionally the charts are drawn depending on a sequence of setRange being called before and after the axis are attached to the chart, so it can actually draw charts properly with values in the range 1e-20, but there doesn't seem to be a reliable sequence to get it to work.

       

       

       

        Attachments

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

          Activity

            People

            Assignee:
            e0348803 Miikka Heikkinen
            Reporter:
            srcejon Jon Beniston
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes