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

Callout Example has a strange artifact on the left hand side when you click the series

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.12.0
    • Charts
    • None
    • Windows
    • Windows

    Description

      The callout example has a strange artifact on the left hand side when you click the series.  The artifact is not easily discovered. You should change the axisX and axisY to the range [-1, 10] by using : 

      m_chart->axisY()->setRange(-1, 10);

      m_chart->axisX()->setRange(-1, 10);

      Then when you click the any series on the window, the artifact will display at the same time.

      One way to solved this bug is to add a code at keepCallout method.

      After modification, the keepCallout method is 

      void View::keepCallout()

      {          m_callouts.append(m_tooltip);            m_tooltip = new Callout(m_chart);          m_tooltip->hide();//This is the code line I added }

      But I am not sure it is the best way to solve this problem. Thx.

       

      Attachments

        1. bug.jpg
          bug.jpg
          47 kB
        2. bug.jpg
          bug.jpg
          47 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            e0348803 Miikka Heikkinen
            lshiren Lao shiren
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes