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

QChart Y Axis Min/Max settings do not respond to small numbers

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.14.2
    • Charts
    • None
    • The problem has been observed using any version of Qt that includes QChart up to version Qt5.14.2
    • Linux/X11, Windows

    Description

      QChart Y axis do not change when setting min & max values to numbers < 1.0E-12

      I add one or more series to X& Y QValueAxis & use

      axisY->setMin(_lowValue);
      axisY->setMax(_highValue);
      

      as long as _highValue > _lowValue and the _lowValue > 1.0E-12

      the chart responds as expected.

      if either the setMin() or setMax() uses anything <  1.0E-12, the chart no longer responds.

      To confirm that the chart is really getting these values, I use the 

      axisY->Min() & axisY->Max() gets and the values are present.
      

      ie;

      axisY->setMin(1.0E-12);
      axisY->setMax(1.0E-11);
      

      works fine. If I use :

      axisY->setMin(1.0E-14);
      axisY->setMax(1.0E-13);
      

      the QChart does not respond.

       

       

       

      Attachments

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

        Activity

          People

            e0348803 Miikka Heikkinen
            mmikeinsantarosa Mike Purtell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes