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]> 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].
> 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/CAD_qyJpy05T6aSWoC9nYonsB%2BOU%2BAW2Wgy%2BNW%3DYQh%2BHXadkK6A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to