Open darods opened 4 years ago
Hi, have you found a solution for this problem? I have the same problem with Text Items but I can´t solve it.
No :c, sorry.
What have you tried to fix it?
Well I followed your advice about use pyqt5 widgets instead texts items, more exactly QLcdNumber and it works
@gabrielelara Can you please share the code to bind Qlcdnumber inside the L2 layout . It will be of great help
@gabrielelara I am facing the same issue of disappearing tets inside the textitem
It seems that this issue has been solved several years ago. https://stackoverflow.com/questions/46017022/textitem-added-to-viewbox-disappeare-after-a-couple-of-seconds use "self.getViewBox().autoRange()" to auto scale graph's viewbox and "SetPos(.5,.5)" to place the TextItem in the center position
Most of the times pyqtgraph's Text Items disappear, i don't know why, maybe a reimplementation using pyqt5 widgets instead of pyqtgraph will solve this.