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

QtCharts::QtValueAxis setRange function does not handle very small numbers.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9.2
    • 5.7.0
    • Charts
    • None
    • 5261307d061a2b925faffb6ea21aa3dbca1e50a9

    Description

      QtCharts::QtValueAxis setRange function fails for small numbers. For example:

      QtCharts::QValueAxis* axisX = new QtCharts::QValueAxis();
      axisX->setRange(-1e-12,1e-13);
      qDebug() << axisX->min() << axisX->max();

      produces a couple of zeros (0 0).

      Attachments

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

        Activity

          People

            andysh Andy Shaw
            whalenpt Patrick Whalen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes