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

QLineSeries does not render when numbers are small (< 1e-14)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.13.0 RC 2
    • Charts
    • None
    • Linux/X11, Windows

      This bug is quite simple. Create a line series where the numbers are sufficiently small, and it won't get rendered. I've found that anything <= 1e-14 will cause this to happen. Using the same exact code with larger numbers will render the line series perfectly.

      I've also noticed that sometimes any axes with these small numbers will now show up at all, but this doesn't consistently happen (e.g. the x values are the super small numbers, and the x axis doesn't show up but the y axis does).

      I've encountered this bug using both linear axes and log axes.

        1. main.cpp
          1 kB
          Joshua Karns
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            e0348803 Miikka Heikkinen
            jkarns Joshua Karns
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes