This goes to anybody who stumbles upon same issue. I ended disabling line updating through setPos method in mousemoved event. Instead I update line position only at data update events, which happen 10 times per second in my case, which is fast enough for me.
On Monday, March 13, 2017 at 5:20:27 PM UTC+1, [email protected] wrote: > > Hi Nicholas, > > I don't know if I'll get a reply, but I would really like to know if you > solved the issue. I am having same problems, and there is not much info > available on the issue. > > On Tuesday, June 3, 2014 at 11:50:28 PM UTC+2, nicolas commaux wrote: >> >> Hi Michael. >> That's what I did. I declared the infiniteline under an alias and then >> added the item. >> Then I call the setpos method through the alias to change their position >> in the slot triggered by the sigmousemoved event (through a proxy limited >> to 15 updates a second not to generate too many events). >> but it is very slow (an update of the crosshair maybe every second). >> So that's probably not the trick. >> I reattach the python files in case you want to ahve a look at them >> 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/855bdcb5-a708-49f1-bf1a-9765e26068d4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
