Graph result shown after form submission