Updated generate chart button

Updated generate chart button - everything working except form2 is not
displaying the chart