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

QChart/QChartView does not respect LayoutDirection

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • 5.14, 5.15.6, 6.2.0
    • Charts

    Description

      It seems to be impossible to set RTL Layoutdirection to QCharts, Like if the user wants to show the chart in right to left layout to make charts conform to Right-to-left languages such as Arabic. Please refer to attached sample snapshots
      Setting layout direction by Following code does not make any difference:

      chartView->chart()->setLayoutDirection(Qt::RightToLeft); 
      chartView->setLayoutDirection(Qt::RightToLeft);
      

      Attachments

        1. qtbug81814_1.png
          qtbug81814_1.png
          2 kB
        2. qtbug81814.png
          qtbug81814.png
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tokorpip Tomi Korpipää
            shmittal Shveta Mittal (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes