Skip to content

yjg30737/pyside-database-chart-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyside-database-chart-example

Example of using database and chart with PySide6

I used PySide6 unlike the others because PyQt5 or PyQt6 is very finicky to import QChart for some reasons.

You can see the basic description to use the database GUI here - pyqt-database-example.

Yes, it is PyQt database but PySide and PyQt are almost identical so there is not a bit of a problem to understand.

Requirements

  • PySide6

Setup

python -m pip install git+https://github.com/yjg30737/pyside-database-chart-example.git --upgrade

Example

from PySide6.QtWidgets import QApplication
from pyside_database_chart_example.main import Window


if __name__ == "__main__":
    import sys

    app = QApplication(sys.argv)
    window = Window()
    window.show()
    sys.exit(app.exec())

Result

image

See Also