I believe you misunderstood the question. I know how to move the line. What I want to know is how to move the *LABEL* of the line.
On Tuesday, July 18, 2017 at 1:34:11 PM UTC-6, Vasilije Mehandzic wrote: > > You need to call setValue() function. > > > > > *example:i_l = pyqtgraph.InfiniteLine(movable=True, angle=0)line_position > = 1i_l.setValue(line_position)* > > read the documentation > http://www.pyqtgraph.org/documentation/graphicsItems/infiniteline.html > > On Tue, Jul 18, 2017 at 9:15 PM, Jeremy Webster <[email protected] > <javascript:>> wrote: > >> The label for the infiniteLine shows up right in the vertical middle of >> the plot. That's where all my data is and I'd rather not have the label >> right over it. What's the best way (Is it possible) to move it near the >> top (or bottom) of my plot? >> >> >> -- >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/pyqtgraph/9dde2306-ab4e-49b5-a939-54ec5ed711ce%40googlegroups.com >> >> <https://groups.google.com/d/msgid/pyqtgraph/9dde2306-ab4e-49b5-a939-54ec5ed711ce%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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/a9922f5d-d1e5-4354-836d-b73ce4beea5e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
