code: def setValue( self, value ):
          
          scene = self.scene()
          point = scene.mapFromChart(value, None)
          
          self.setPos(point.x(), self.pos().y())
          self.rebuild(scene.gridRect())
docs: Moves the line to the given value and rebuilds it
          
          :param      value | <variant>