SetNdivisions in JSROOT

Hi,

A user would like to use SetNdivisions in our GUI based on JSROOT. I cannot find it. Is it an option in JSROOT or not ?

Thank you
Barth

Hi Barth, unless I missed it (@linev knows better), there is no such option

Hi Barth,

You are right - TAxis::SetNdivisions is not available from JSROOT side. Any changes could be done only when histogram created in the C++ code. I will provide extra item in context menu soon.

Regards,
Sergey

Thank you both for your reply. @linev Do I understand correctly that you will probably add this option to the context menu soon ?

Yes, this is my plan.

https://jsroot.gsi.de/dev/examples.htm#th2_colz

Now Divisions can be changed via axes context menu

That was impressively fast !

Thank you,
Barth

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