'Add a horizontal line to the plot.
:param label: A label.
:type label: string.
:param level: The position for the line.
:type level: int/float.'

def addLine(self, label, level):

    self.addCallback(label, (lambda x: level))
