This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PyQt6 import QtCore, QtGui, QtWidgets | |
from PyQt6.QtCharts import QChart, QChartView, QLineSeries, QValueAxis | |
import sys | |
class Ui_MainWindow(QtWidgets.QMainWindow): | |
def __init__(self): | |
super().__init__() | |
self.setWindowTitle("Trouble LineChart") | |
self.setGeometry(100,100, 680,500) | |
self.array_medias = [28.284563290387887, 28.170853249077403, 28.776281519708895, 29.041099232443074, 29.232627358676552] |