On Thursday, January 31, 2019 at 6:01:42 PM UTC+1, Szilard Perenyi wrote:
>
> Hi, is it possible to write the label in HTML code for the infiniteline?
>
  OrderLine = pg.InfiniteLine(pos=price, movable=True, angle=0, pen=pen, 
label=("<span style='font-size: 10pt;color:#b3ffb3'>%s</span>" % 
(Quantity)) , labelOpts={'position': .890, 'anchors': [0,0], 'fill': bg, 
'movable': True} )
 

-- 
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/4ca6f52a-a107-4c10-abc9-4dfc1bd45b61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to