Line in Stat box

Hi ,

I wnt to have a custom made statbox. But unfortunately root insists on having the line, which normally lies between the title and the content. Any idea to get rid of it?

I’m creating it like this:

   TPaveStats *paramBox;
   char *nameParam[2]={(char*)"Mean",(char*)"Std. dev."};
   char * line = new char[300];
   paramBox=new TPaveStats(0.7,0.60,0.9,0.85,"brNDC");
   sprintf(line,"%s    %i e",nameParam[0],a->GetMean());
   paramBox->AddText(line);
   sprintf(line,"%s %i e",nameParam[1],a->GetRMS());
   paramBox->AddText(line);
   paramBox->SetBorderSize(1);
   paramBox->SetFillColor(0);
   paramBox->SetLineColor(1);
   paramBox->SetTextColor(kBlack);
   paramBox->Draw();

where a is a TH1F.

Thanks
Philipp

Use TPaveText instead of TPaveStats.