Relative frequency hystogram

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