Try: graph1->Scale(1. / graph1->Integral()); graph1->Draw("HIST");
graph1->Scale(1. / graph1->Integral()); graph1->Draw("HIST");