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

[REG: 5.8->5.9]: Removing the data from a QBarSet without removing the barset itself from a QStackedBarSeries, it leaves the removed data labels to the chart

    XMLWordPrintable

Details

    • ad9d59e871b6f1a7b3f0b0ae1248ffa205647993

    Description

      When removing the data from a QBarSet without removing the QBarSet from QStackedBarSeries itself, the removed data's labels are left in the chart.

      This is regression from 5.8 to 5.9, caused by the optimization code done for issue QTBUG-52442

      Steps to reproduce:

      • Run attached sample
      • Press "delete barset2" button, which removes the data from the barset2
      • EXPECTED: All references to the removed data is removed
      • ACTUAL: Labels in the chart are left in place while the bars themselves are updated

      Attachments

        1. qtbug62210_after_delete.png
          27 kB
          Jussi Witick
        2. qtbug62210_initial.png
          39 kB
          Jussi Witick
        3. qtbug62210.zip
          1 kB
          Jussi Witick
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            poikelin Joni Poikelin
            jussi_witick Jussi Witick
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes