label.set_x
Moves the label to x.
label.set_x(id: label, x: int/float)
Parameters
idlabel: The label's handle (from label.new); na or a deleted label does nothing.xint/float: A bar index (bar_index), or a UTC ms time when the drawing uses xloc.bar_time.
Example
lb.set_x(bar_index)