(self, file, parent=None)
| 34 | class ChartView(QChartView): |
| 35 | |
| 36 | def __init__(self, file, parent=None): |
| 37 | super(ChartView, self).__init__(parent) |
| 38 | self._chart = QChart() |
| 39 | self._chart.setAcceptHoverEvents(True) |
| 40 | self.setChart(self._chart) |
| 41 | self.initUi(file) |
| 42 | |
| 43 | def initUi(self, file): |
| 44 | if isinstance(file, dict): |