Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-645

QChartView.setRubberBand(...) method is missing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 5.9
    • Fix Version/s: 5.9
    • Component/s: Other, PySide
    • Labels:
      None
    • Environment:
      Qt 5.9.4, PySide 2 built from 5.9 branch some time ago
    • Commits:
      7803a22eee4ff86741fd4c12f6d4cf859961c273

      Description

      from PySide2.QtCore import *
      from PySide2.QtGui import *
      from PySide2.QtWidgets import *
      from PySide2.QtCharts import *
      
      chartView = QtCharts.QChartView()
      chartView.setRubberBand(QChartView.RectangleRubberBand);
      chartView.show()
      

      gives me

      AttributeError: 'PySide2.QtCharts.QtCharts.QChartView' object has no attribute 'setRubberBand'

      This method works just fine if called from C++

        Attachments

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

          Activity

            People

            Assignee:
            crmaurei Cristian Maureira-Fredes
            Reporter:
            wearyinside Oleg Yadrov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes