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

Wrong pillar is highlighted in bar graph

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.7.0 RC
    • 6.6.1, 6.6.2
    • Data Visualization
    • None
    • Linux/X11, Windows

    Description

      In the Simple Bar Graph example, when the bar graph is displaying the yearly totals as one row of pillars, left-clicking the 2022 pillar will result in the 2016 pillar being highlighted. This occurs when displaying the income or the expenses individually. When you are displaying the income and expenses together, left-clicking the 2022 expense pillar will highlight the 2022 expense pillar, but left-clicking the 2022 income pillar will highlight the 2016 income pillar. This behavior only occurs in the yearly totals mode, and it is just with the 2022 pillar.

       

      Steps to reproduce:

      1. Left-click "Show 2020 - 2022".
      2. Left-click "Show yearly totals".
      3. Left-click all of the pillars except for the 2022 pillar. Notice that they are all highlighted correctly.
      4. Left-click the 2022 pillar. Notice that this will highlight the 2016 pillar.
      5. Left-click "Show Expenses".
      6. Repeat step 3 and step 4, and notice the exact same behavior with the 2022 pillar.
      7. Left-click "Show Both".
      8. Left-click all of the income pillars and expense pillars expect for the 2022 pillars. Notice that all of the pillars are highlighted correctly.
      9. Left-click the 2022 expense pillar. Notice that it is highlighted correctly.
      10. Left-click the 2022 income pillar. Notice that the 2016 income pillar is highlighted.

       

      Expected behavior:

      When clicking a pillar, it should not highlight another pillar.

      Attachments

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

        Activity

          People

            tokorpip Tomi Korpipää
            chrisrl Chris Lerner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes