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

setReverse() silently fails for a category axis

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12.0
    • Charts
    • None
    • Linux/X11

    Description

      {{

      QStringList categories;
      categories << "level 1" << "level 2" << "level 3" << "level 4" << "Level 5" << "Level 6" << "level 7" << "level 8" << "level 9" << "level 10";

      QBarCategoryAxis *axisY_bid = new QBarCategoryAxis();
      axisY_bid->append(categories);
      // XXX setReverse does NOTHING
      axisY_bid->setReverse(true);
      printf("Y reversed=%d\n", axisY_bid->isReverse())

      }}

      [hal@tugboat 12:34 ~/qtcharts/horizontalstackedbarchart] ./horizontalstackedbarchart
      Y reversed=0

      Attachments

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

        Activity

          People

            e0348803 Miikka Heikkinen
            hal8 Hal Ashburner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes