Insert QChartView to ui
问题 I am trying to put plot candlestick and 5-days average line on a same qtchart but give two x axis plot code into a UI loader import sys from PyQt5.QtWidgets import QApplication, QWidget from PyQt5.QtGui import QIcon from PyQt5 import uic import sys from PyQt5.QtChart import QCandlestickSeries, QChart, QChartView, QCandlestickSet from PyQt5.QtWidgets import QApplication, QMainWindow from PyQt5.QtCore import Qt, QPointF from PyQt5 import QtChart as qc # load both ui file uifile_1 = 'UI/main.ui'