ROOT Version: 6.30
Platform: win10
Compiler: vs c++
How can I show the stat box?
Try
gStyle->SetOptStat("emr");
It’s not shown also.
The way proposed by @yus is the general setting affecting all histograms, but there is a more strict level setting the option for a given histogram. May be your histogram has its stats “off”. try yourhisto->SetStats(1);