keyboard scroll for large data

18 views
Skip to first unread message

Rafael Grigoryan

unread,
Feb 20, 2020, 7:14:20 PM2/20/20
to pyqtgraph
Is there any nice way to use arrows to synchronously scroll multiple plot while rendering only visible part, like in HDF5 script from example library?
The plot is supposed to be embedded in ordinary QT application. I have tried subclassing PlotCurveItem
and redifining viewRangeChanged, but the solution looks unstable - viewRangeChanged is called on mouse interaction and sometimes on its own, so you need to constantly keep track on plotting limits, call getViewBox() on every update, redefine plotting limits etc.  Adding multiple linked plots will probably make it worse.
Reply all
Reply to author
Forward
0 new messages