Replies: 1 comment
-
Looks right, you probably have the wrong position. Use the 0-based index of the X-coordinate (which usually is displayed as a timestamp). For instance, in v_bar = fplt.pg.InfiniteLine(pos=(600,4.5), angle=0.01, pen='r')
ax.vb.addItem(v_bar) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
how do i add pg.InfiniteLine in chart,
i am trying to add following in chart
v_bar = pg.InfiniteLine(pos=(position), angle=90, pen='r')
ax.vb.addItem(v_bar)
Beta Was this translation helpful? Give feedback.
All reactions