It's not clear to me how the changes made in PlotCurveItem could impact a PlotWidget with multiple curves.
Pe joi, 10 februarie 2022, la 17:22:51 UTC+2, [email protected] a scris: > Hi, > > For this sort of thing, the trick is to get all the lines to do a repaint > in one go instead of repainting one line at a time. > > A while back, Kenneth Lyons did a proof of concept to make that work (note > it requires altering some library code); but I would start with something > like this first: > > https://github.com/pyqtgraph/pyqtgraph/issues/1039#issuecomment-533756769 > > On Wed, Feb 9, 2022 at 11:26 PM Daniel Hrisca <[email protected]> wrote: > >> Hello, >> >> for my plots I use an Infinite vertical line to simulate a Cursor. When >> the cursor is dragged by the user the instantaneous signal values at that >> timestamp are reported to the user in a different widget. >> >> My issue is that with a large signal count (let's say 4000 signals) >> moving the cursor triggers a complete repaint that is really slow to >> execute. >> >> Is there some way to have like an overlay where the bottom layer contains >> the signal curves (and thus dos not require a repaint when the cursor is >> moved) and the top layer contains the Cursor? >> >> Thanks! >> >> -- >> You received this message because you are subscribed to the Google Groups >> "pyqtgraph" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/pyqtgraph/6417a3ef-2c79-48cb-a4f6-3d5f5fcc982an%40googlegroups.com >> >> <https://groups.google.com/d/msgid/pyqtgraph/6417a3ef-2c79-48cb-a4f6-3d5f5fcc982an%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "pyqtgraph" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/7266e8f8-154a-427d-8341-dc498c0764e0n%40googlegroups.com.
