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

QChartView.setRubberBand(...) method is missing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.9
    • 5.9
    • Other, PySide
    • None
    • Qt 5.9.4, PySide 2 built from 5.9 branch some time ago
    • 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

            crmaurei Cristian Maureira-Fredes
            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