Plotting time series data with PyQtGraph

Heads up! You've already completed this tutorial.

Mck_1 | 2020-05-07 16:45:39 UTC | #1

Hello I have a serious issue here and I can't find a solution any where else. I try to plot time series data on my PyqtGraph embedded to QT designer.

the only tutos I found with time series plot pyqtgraph are as follow : https://stackoverflow.com/questions/49046931/how-can-i-use-dateaxisitem-of-pyqtgraph

my question is how do we replace the

python
graph = pg.PlotWidget(axisItems = {'bottom': date_axis})

with

python
self.graphWidget = pg.PlotWidget(axisItems = {'bottom': date_axis})

The first works but the second does not. is it possible to show how you would add a timeseries on your example it would be SUPERUSEFUL because there is no any on google.


The complete guide to packaging Python GUI applications with PyInstaller.
[[ discount.discount_pc ]]% OFF for the next [[ discount.duration ]] [[discount.description ]] with the code [[ discount.coupon_code ]]

Purchasing Power Parity

Developers in [[ country ]] get [[ discount.discount_pc ]]% OFF on all books & courses with code [[ discount.coupon_code ]]
Well done, you've finished this tutorial! Mark As Complete
[[ user.completed.length ]] completed [[ user.streak+1 ]] day streak

Plotting time series data with PyQtGraph was written by Martin Fitzpatrick .

Martin Fitzpatrick has been developing Python/Qt apps for 8 years. Building desktop applications to make data-analysis tools more user-friendly, Python was the obvious choice. Starting with Tk, later moving to wxWidgets and finally adopting PyQt.