Skip to content

Commit 89f565e

Browse files
committed
Adjust title
1 parent 96a8943 commit 89f565e

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

api.htm

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -388,25 +388,25 @@ <h1><div><a href="https://root.cern/js/">JSROOT</a></div><a id="version" href="h
388388

389389
let examples = {
390390
'URL syntax': [
391-
{ name: 'Open file', url: '?file=' + filepath + 'hsimple.root', title: 'Open ROOT file with the JSROOT' },
392-
{ name: 'Display item', url: '?file=' + filepath + 'hsimple.root&item=hpxpy;1&opt=colz', title: 'Open ROOT file and display item' },
393-
{ name: 'Enable status', url: '?status&file=' + filepath + 'hsimple.root&item=hpxpy;1&opt=colz', title: 'Show tooltip information in special status line' },
394-
{ name: 'Hide browser', url: '?nobrowser&file=' + filepath + 'hsimple.root&item=hprof;1', title: 'Hide browser - only display items, browser can be activated later' },
395-
{ name: 'Float browser', url: '?float&file=' + filepath + 'hsimple.root&item=ntuple;1&opt=px:pz', title: 'Display floating browser, which overlays objects drawings' },
396-
{ name: 'Flexible layout', url: '?file=' + filepath + 'hsimple.root&layout=flex&items=[hpx;1,hpxpy;1,hprof;1]&opts=[hist,colz,e1]', title: 'Display several items with flexible layout', syn: 'url_syntax_tabs_layout', syn2: 'url_syntax_collapsible_layout' },
397-
{ name: 'Tabs layout', url: '?file=' + filepath + 'hsimple.root&layout=tabs&items=[hpx;1,hpxpy;1,hprof;1]&opts=[hist,colz,e1]', title: 'Example of tabs layout' },
398-
{ name: 'Grid layout', url: '?path=' + filepath + '&layout=grid2x2&files=[hsimple.root,glbox.root]&items=[hsimple.root/hpx;1,hsimple.root/hpxpy;1,hsimple.root/hprof;1,glbox.root/h31;1]&opts=[hist,lego20,e1,box2]', title: 'Example of grid layout with 2D and 3D drawings' },
399-
{ name: 'Veritcal layout', url: '?file=' + filepath + 'hsimple.root&layout=vert121&items=[hpx;1,hpxpy;1,ntuple;1,hprof;1]&opts=[hist,colz,px:pz,e1]', title: 'Display several items in vertical layout' },
400-
{ name: 'Horizontal layout', url: '?file=' + filepath + 'hsimple.root&layout=horiz32_12&items=[ntuple,ntuple,ntuple,hpx,hpxpy]&opts=[px:py,px:pz,py:pz,hist,lego2]', title: 'Display several items in horizontal layout, adjust size ratio' },
401-
{ name: 'Inspector', url: '?file=' + filepath + 'hsimple.root&item=hpx;1&opt=inspect', title: 'Show objects data memebers' },
402-
{ name: 'Projection', url: '?nobrowser&file=' + filepath + 'hsimple.root&item=hpxpy;1&opt=col,projx3', title: 'Enable X projection with 3 bins' },
403-
{ name: 'Images', url: '?path=' + filepath + '&layout=grid2x2&file=hsimple.root&items=[hpx;1,hpxpy;1,img:../files/img/ALICE.png,img:../files/img/ATLAS.png]&opts=[hist,colz,scale,center]', title: 'Example of adding images from the web server' },
404-
{ name: 'Use JSON', url: '?nobrowser&json=https://jsroot.gsi.de/files/danilo6.json', title: 'Read and display data from JSON file, produced with TBufferJSON class' },
405-
{ name: 'Superimpose', url: '?file=' + filepath + 'fillrandom.root&item=h1f;1+sqroot;1', title: 'Superimpose histogram and function' },
406-
{ name: 'Several files', url: '?layout=grid2x2&path=' + filepath + '&files=[hsimple.root,graph.root,ct.root]&items=[hsimple.root/[1],graph.root/[11],graph.root/[3],ct.root/[0]]&opts=[lego]', title: 'Open several files simultaneusely' },
407-
{ name: 'Superimpose 2 files', url: '?files=[' + filepath + 'hsimple.root,' + filepath + 'graph.root]&item=graph.root/Graph;1+hsimple.root/hprof;1', title: 'Superimpose items from two different files' },
408-
{ name: 'Superimpose 3 files', url: '?path=' + filepath + '&files=[temp44.root,temp35.root,temp28.root]&item=temp44.root/Histograms/TDC_C100/Ch1/TDC_C100_Ch1_RisingCalibr;1+temp35.root/_same_+temp28.root/_same_&opt=plc,nostat+plc+plc&tooltip=2', title: 'Superimpose same item from three different files' },
409-
{ name: 'Use autozoom', url: '?layout=grid1x3&path=' + filepath + '&files=[temp44.root,temp35.root,temp28.root]&items=[temp44.root/Histograms/TDC_C100/Ch3/TDC_C100_Ch3_RisingRef;1,temp35.root/_same_,temp28.root/_same_]&opts=[autozoom,autozoom,autozoom]', title: 'Let display only non-empty bins of the histogram(s)' }
391+
{ name: 'Open file', url: '?file=' + filepath + 'hsimple.root', title: 'Open ROOT file with the JSROOT; `&file=<name>`' },
392+
{ name: 'Display item', url: '?file=' + filepath + 'hsimple.root&item=hpxpy;1&opt=colz', title: 'Open ROOT file and display item; `&item=<name>&opt=<value>`' },
393+
{ name: 'Enable status', url: '?status&file=' + filepath + 'hsimple.root&item=hpxpy;1&opt=colz', title: 'Show tooltip information in special status line; `&status`' },
394+
{ name: 'Hide browser', url: '?nobrowser&file=' + filepath + 'hsimple.root&item=hprof;1', title: 'Hide browser - only display items, browser can be activated later; `&nobrowser`' },
395+
{ name: 'Float browser', url: '?float&file=' + filepath + 'hsimple.root&item=ntuple;1&opt=px:pz', title: 'Display floating browser, which overlays objects drawings; `&float`' },
396+
{ name: 'Flexible layout', url: '?file=' + filepath + 'hsimple.root&layout=flex&items=[hpx;1,hpxpy;1,hprof;1]&opts=[hist,colz,e1]', title: 'Display several items with flexible layout; `&layout=flex`', syn: 'url_syntax_tabs_layout', syn2: 'url_syntax_collapsible_layout' },
397+
{ name: 'Tabs layout', url: '?file=' + filepath + 'hsimple.root&layout=tabs&items=[hpx;1,hpxpy;1,hprof;1]&opts=[hist,colz,e1]', title: 'Example of tabs layout; `&layout=tabs`' },
398+
{ name: 'Grid layout', url: '?path=' + filepath + '&layout=grid2x2&files=[hsimple.root,glbox.root]&items=[hsimple.root/hpx;1,hsimple.root/hpxpy;1,hsimple.root/hprof;1,glbox.root/h31;1]&opts=[hist,lego20,e1,box2]', title: 'Example of grid layout with 2D and 3D drawings; `&layout=grid2x2`' },
399+
{ name: 'Veritcal layout', url: '?file=' + filepath + 'hsimple.root&layout=vert121&items=[hpx;1,hpxpy;1,ntuple;1,hprof;1]&opts=[hist,colz,px:pz,e1]', title: 'Display several items in vertical layout; `&layout=vert121`' },
400+
{ name: 'Horizontal layout', url: '?file=' + filepath + 'hsimple.root&layout=horiz32_12&items=[ntuple,ntuple,ntuple,hpx,hpxpy]&opts=[px:py,px:pz,py:pz,hist,lego2]', title: 'Display several items in horizontal layout, adjust size ratio; `&layout=horiz32_12`' },
401+
{ name: 'Inspector', url: '?file=' + filepath + 'hsimple.root&item=hpx;1&opt=inspect', title: 'Show objects data memebers; `&opt=inspect`' },
402+
{ name: 'Projection', url: '?nobrowser&file=' + filepath + 'hsimple.root&item=hpxpy;1&opt=col,projx3', title: 'Enable X projection with 3 bins, `&opt=projx3`' },
403+
{ name: 'Images', url: '?path=' + filepath + '&layout=grid2x2&file=hsimple.root&items=[hpx;1,hpxpy;1,img:../files/img/ALICE.png,img:../files/img/ATLAS.png]&opts=[hist,colz,scale,center]', title: 'Example of adding images from the web server, `item=img:path/to/image.png`' },
404+
{ name: 'Use JSON', url: '?nobrowser&json=https://jsroot.gsi.de/files/danilo6.json', title: 'Read and display data from JSON file, produced with TBufferJSON class; `&json=<filename>`' },
405+
{ name: 'Superimpose', url: '?file=' + filepath + 'fillrandom.root&item=h1f;1+sqroot;1', title: 'Superimpose histogram and function; `&item=<name1>+<name2>`' },
406+
{ name: 'Several files', url: '?layout=grid2x2&path=' + filepath + '&files=[hsimple.root,graph.root,ct.root]&items=[hsimple.root/[1],graph.root/[11],graph.root/[3],ct.root/[0]]&opts=[lego]', title: 'Open several files simultaneusely; `&files=[<filename1>,<filename2>,...]`' },
407+
{ name: 'Superimpose 2 files', url: '?files=[' + filepath + 'hsimple.root,' + filepath + 'graph.root]&item=graph.root/Graph;1+hsimple.root/hprof;1', title: 'Superimpose items from two different files; `&item=<filename1>/<item1>+<filename2>/<item2>`' },
408+
{ name: 'Superimpose 3 files', url: '?path=' + filepath + '&files=[temp44.root,temp35.root,temp28.root]&item=temp44.root/Histograms/TDC_C100/Ch1/TDC_C100_Ch1_RisingCalibr;1+temp35.root/_same_+temp28.root/_same_&opt=plc,nostat+plc+plc&tooltip=2', title: 'Superimpose same item from three different files; `&item=<filename1>/<item1>+<filename2>/<item2>+<filename3>/<item3>`' },
409+
{ name: 'Use autozoom', url: '?layout=grid1x3&path=' + filepath + '&files=[temp44.root,temp35.root,temp28.root]&items=[temp44.root/Histograms/TDC_C100/Ch3/TDC_C100_Ch3_RisingRef;1,temp35.root/_same_,temp28.root/_same_]&opts=[autozoom,autozoom,autozoom]', title: 'Let display only non-empty bins of the histogram(s); `&opt=autozoom`' }
410410
],
411411
'Custom HTML' : [
412412
{ name: 'Read JSON', url: 'demo/read_json.htm', title: 'Custom web page to read and display object from JSON file', src: true },

0 commit comments

Comments
 (0)