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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.14.2
    • Fix Version/s: None
    • Component/s: Charts
    • Labels:
      None
    • Environment:
      The problem has been observed using any version of Qt that includes QChart up to version Qt5.14.2
    • Platform/s:
      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

            Assignee:
            e0348803 Miikka Heikkinen
            Reporter:
            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