# Can't access the "status" box of TGraph

**URL:** <https://root-forum.cern.ch/t/cant-access-the-status-box-of-tgraph/18939>\
**Category:** Roofit and RooStats\
**Created:** [March 10, 2015, 5:23pm UTC](https://root-forum.cern.ch/t/cant-access-the-status-box-of-tgraph/18939 "2015-03-10T17:23:21Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [March 10, 2015, 11:55pm UTC](https://root-forum.cern.ch/t/cant-access-the-status-box-of-tgraph/18939/5 "2015-03-10T23:55:29Z")

</div>

Try:

```cpp
// ...
Lccd_st->SetName("mystatus"); // actually, you do not need it
gr->GetListOfFunctions()->Remove(Lccd_st); Lccd_st->Draw();
//...

```

P.S. Note that the [TStyle::SetOptStat](https://root.cern.ch/root/html534/TStyle.html#TStyle:SetOptStat) method is relevant for histograms only (see also the [TH1::SetStats](https://root.cern.ch/root/html534/TH1.html#TH1:SetStats) method).

---

_[View the full topic](https://root-forum.cern.ch/t/cant-access-the-status-box-of-tgraph/18939)._
