-
This repo provide a simple demo to show using ECharts in PyQt5. We use qtcreator create/modify the ui file mainwindow.ui, then convert mainwindow.ui to mainwindow_ui.py with command:
pyuic5 -o mainwindow_ui.py mainwindow.ui
-
Requiements:
PyQt5=5.15 or 5.12,PyQt5-sip=12.8.1,PyQtWebEngine=5.12
-
How to run:
a. set the htmlfile with correct absolute file path in main.py
b. open terminal and run:
python main.py
-
Currently, it supports 3 styles: Line, Bar, Pie, shown in below; ECharts[1] has lots of styles, you can introduce new styles based on this repo.
-
references
mjlsuccess / pyqtecharts Goto Github PK
View Code? Open in Web Editor NEWBinding pyqt5 and Echarts