|
23 | 23 | json - name of JSON file(s) with ROOT object, stored by TBufferJSON::ConvertToJSON method |
24 | 24 | item - object name(s) in the file to display |
25 | 25 | opt - draw option(s) for the item(s) |
26 | | - layout - can be 'simple', 'collapsible', 'tabs' or gridNxM where N and M are integer values |
| 26 | + layout - can be 'simple', 'flex', 'collapsible', 'tabs' or gridNxM where N and M are integer values |
27 | 27 | nobrowser - only file item(s) will be displayed, browser will be disabled |
28 | 28 | load - name of JavaScript(s), automatically loaded at the beginning |
29 | 29 | mathjax - use MathJax for Latex output (automatically loaded for TMathText objects) |
| 30 | + paltte - id of default color palette, 51..121 - new ROOT6 palette (default 57) |
30 | 31 |
|
31 | 32 | Example: |
32 | 33 | https://root.cern.ch/js/latest/?file=../files/hsimple.root&layout=grid2x2&item=[hpx;1,hpxpy;1]&opts=[,colz] |
33 | 34 |
|
34 | 35 | Page can be used to open files from other web servers like: |
35 | | - https://root.cern.ch/js/latest/?file=https://web-docs.gsi.de/~linev/js/files/hsimple.root |
| 36 | + https://root.cern.ch/js/latest/?file=https://jsroot.gsi.de/files/hsimple.root |
36 | 37 |
|
37 | 38 | But one should be aware about Cross-Origin Request blocking. |
38 | 39 | Read https://developer.mozilla.org/en/http_access_control for more details. |
|
42 | 43 | <script type="text/javascript" src="https://root.cern.ch/js/latest/scripts/JSRootCore.min.js?gui"></script> |
43 | 44 |
|
44 | 45 | If necessary, complete JSROOT can be installed on the web server. |
45 | | -All sources can be found in $ROOTSYS/etc/http/ directory. |
| 46 | +Project repository: https://github.com/linev/jsroot. |
46 | 47 |
|
47 | 48 | --> |
0 commit comments