Put graph div onto input div