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

Writing to GraphsView.orientation is not reflected in graphics

XMLWordPrintable

    • Windows
    • 6777933c3 (tqtc/lts-6.8)

      In the attached code (modified version of the Hello Graphs example), a QML scene containing a GraphsView is rendered in a GUI containing a QQuickWidget and some further widget controls. One of the widgets is a checkbox that controls the orientation property of the GraphsView. When clicked, it sets the property using QQmlProperty::write and calls QQuickWidget::update().

      However, the change in orientation is not reflected in the graphics until the window is resized. On the other hand, modifying other aspects of the graph such as the values or the barsType property is reflected directly in the graphics, as shown by the attached demo.

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

            tokorpip Tomi Korpipää
            staffanronnas Staffan Ronnas
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes