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

setSelectedColor doesn't work on barsets added to QBarSeries with insert method

    XMLWordPrintable

Details

    • macOS

    Description

      Selection color doesn't work for barsets added to QBarSeries with insert method. Instead of insert, if I use QBarSeries::append then selection color reflects as expected. Note: It happens for both C++ and Python APIs.

      Using insert :

      Screen Recording 2024-12-19 at 3.47.51 PM.mov

      Using append insted of insert (rest of the script is same) : 

      Screen Recording 2024-12-19 at 3.48.37 PM.mov

      Attaching the python script.

      qt_bug_chart.py

       

      You can also find c++ implementation : cpp_sample_code.cxx

      Attachments

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

        Activity

          People

            e0348803 Miikka Heikkinen
            sohamkanji Soham Kanji
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes