I have been working on a charting software by using pyqtgraph.
I want to add two cross lines that works for the main chart, as well as
those indicators below.
It will act as below:
a) a H Line among all these PlotItems, looks like only one Line.
b) show a H line at where my cursor point are.
so, it look like there is a parent plotitem, and i create two lines there.
But it seams that PyQtGraph doesnot provide such function.
So, i was thinking that I can create two hidden lines in each of the
PlotItems, and then change the visibility and position within the
mouseevent accordingly.
The problem is that those PlotItems are created by the system with margins
and paddings, which makes the lines broken and behavior weird.
Or, use QtWidgets/QtFrame/Qtbutton, makes them look like a line to get it
done?
Can anyone help? Thanks!
<https://lh3.googleusercontent.com/-v2vlmC_FV-U/V6SeeRztg6I/AAAAAAAAAAg/9Ushtjv5r-I6AbYxVMyoMS-N9rZ8LhG0wCLcB/s1600/Screenshot%2Bfrom%2B2016-08-05%2B22-10-33.png>
--
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/586136ad-1ad2-4b66-94f0-3579a40338a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.