I know how to use the normal QCPItemLine class. There I set the line position using start()
and end()
. But I'd like to draw an infinite line over the full plotting pane, so that it never stops when zooming. Therefore I would like to use the straightline class. I just don't know how to set the position of this straightline. Can someone please give me an example?
Thanks in advance,
John