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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15.2
    • Charts
    • 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

            e0348803 Miikka Heikkinen
            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