13 Float_t vals[] = {.2,1.1,.6,.9,2.3};
21 "Pie with offset and no colors",
nvals,vals);
30 pie1->SetAngularOffset(30.);
31 pie1->SetEntryRadiusOffset( 4, 0.1);
36 pie2->SetEntryRadiusOffset(2,.05);
37 pie2->SetEntryLineColor(2,2);
38 pie2->SetEntryLineWidth(2,5);
39 pie2->SetEntryLineStyle(2,2);
40 pie2->SetEntryFillStyle(1,3030);
41 pie2->SetCircle(.5,.45,.3);
46 pie3->GetSlice(0)->SetValue(.8);
47 pie3->GetSlice(1)->SetFillStyle(3031);
48 pie3->SetLabelsOffset(-.1);
49 pie3->Draw(
"3d t nol");
55 pie4->SetLabelsOffset(.01);
56 pie4->SetLabelFormat(
"#splitline{%val (%perc)}{%txt}");
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
This class displays a legend box (TPaveText) containing several legend entries.