JsROOT hide TPaveStats

Hi guys,

is there a way to hide the TPaveStats that appears on the top right corner of an histogram (I think that’s how it’s called – the box with the number of entries, mean, std, etc…)?

(post bellenot message) I want to have it disabled/hidden by default, without the need of user interaction.

Thanks in advance!

JSROOT Version: 5.8.0

There is a menu icon image on the bottom left of the canvas:


Or right click on the histogram and select/de-select Show statbox
image

I forgot to mention that I want to do this in the json object, via javascript – just to have it disabled by default, without the need of user interaction

Try to draw with the NOSTAT option

Perfect!
Works well and it’s simple. And I can toggle it back again with the “Toggle stat box” button.

Thanks a lot!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.