Releases: root-project/jsroot
3.7
-
Support of X axis with custom labels like:
http://web-docs.gsi.de/~linev/js/3.7/index.htm?nobrowser&json=../files/hist_xlabels.json -
Extend functionality of JSROOT.addDrawFunc() function. One could register type-specific
make_request
andafter_request
functions;icon
,prereq
,script
,monitor
properties.
This let add more custom elements to the generic gui, implemented with JSROOT.HierarchyPainter -
Provide full support of require.js. One could load now JSRootCore.js script like:
<script type="text/javascript" src="require.js" data-main="scripts/JSRootCore.js"></script>
After this several modules are defined and can be used with syntax like:
require(['JSRootPainter'], function(jsroot) { /*any user code*/});
Also inside JSROOT require.js used to load all dependencies.
3.6
- Try to provide workaround for websites where require.js already loaded.
This makes problem by direct loading of jquery and jquery-ui - Provide workaround for older version of jquery-ui
- Prompt for input of command arguments
- After command execution one could automatically reload hierarchy (_hreload property) or
update view of displayed object (_update_item property) - Use HiearchyPainter for implementing draw.htm. This let us handle
all different kinds of extra attributes in central place - Fix problem in tabs layout - new tab should be add to direct child
- When drawing several tabs, activate frame before drawing - only then
real frame size will be set - Fix problem with GetBBox - it only can be used for visible elements in mozilla.
- Support drawing of fit parameters in stat box, use (as far as possible) stat and fit format for statistic display
- Implement 'g' formatting kind for stat box output - one need to checks significant digits when producing output.
- Support new draw options for TGraph: 'C', 'B1', '0', '2', '3', '4', '[]'
- Primary support for STL containers in IO part. Allows to read ROOT6 TF1.
- Full support of TGraphBentErrors
- Support objects drawing from JSON files in default user interface, including monitoring. One could open file from link like:
https://root.cern.ch/js/dev/?json=demo/canvas_tf1.json - Introduce JSROOT.FFormat function to convert numeric values into string according format like 6.4g or 5.7e. Used for statistic display.
3.5
- Fix error in vertical text alignment
- Many improvements in TPaletteAxis drawing - draw label, avoid too large ticks.
- Fix error with col drawing - bin with maximum value got wrong color
- Test for existing jquery.js, jquery-ui.js and d3.js libraries, reuse when provided
- Fix several I/O problems; now one could read files, produced in Geant4
- Implement 'e2' drawing option for TH1 class,
use by default 'e' option when TH1 has non-empty fSumw2 - Reuse statistic from histogram itself, when no axis selection done
- Support log/lin z scale for color drawing
- Implement interactive z-scale selection on TPaletteAxis
- Allow to redraw item with other draw options (before one should clear drawings)
- Several improvements in THttpServer user interface - repair hierarchy reload,
hide unsupported context menu entries, status line update
3.4
- Support usage of minimized versions of .js and .css files.
Minimized scripts used by default on web servers. - Implement JSROOT.extend instead of jQuery.extend, reduce
usage of jquery.js in core JSROOT classes - Implement main graphics without jquery at all,
such mode used innobrowser
mode. - Provide optional latex drawing with MathJax SVG.
TMathText always drawn with MathJax,
other classes requiremathjax
option in URL - Improve drawing of different text classes, correctly handle
their alignment and scaling, special handling for IE - Fix error with time axes - time offset was not correctly interpreted
3.3
- Use d3.time.scale for display of time scales
- Within JSRootCore.js script URL one could specify JSROOT
functionality to be loaded: '2d', '3d', 'io', 'load', 'onload'.
Old method with JSROOT.AssertPrerequisites will also work. - With THttpServer JSROOT now provides simple control functionality.
One could publish commands and execute them from the browser - One could open several ROOT files simultaneously
- Add 'simple' layout - drawing uses full space on the right side
- Allow to open ROOT files in online session (via url parameter)
- One could monitor simultaneously objects from server and root files
- Implement 'autocol' draw option - when superimposing histograms,
their line colors will be automatically assigned - Implement 'nostat' draw option - disabled stat drawing
- Using 'same' identifier in item name, one can easily draw or superimpose
similar items from different files. Could be used in URL like:
...&files=[file1.root,file2.root]&items=[file1.root/hpx, file2.root/_same_]
...&files=[file1.root,file2.root]&item=file1.root/hpx+file2.root/_same_
Main limitation - file names should have similar length. - When 'autozoom' specified in draw options, histogram zoomed into
non-empty content. Same command available via context menu. - Item of 'Text' kind can be created. It is displayed as
plain text in the browser. If property 'mathjax' specified,
MathJax.js library will be loaded and used for rendering.
See httpcontrol.C macro for example. - When using foreignObject, provide workaround for absolute positioning
problem in Chrome/Safari, see http://bit.ly/1wjqCQ9
3.2
- Support JSON objects embedding in html pages, produced by THttpServer
- For small resize of canvas use autoscale functionality of SVG. Only when
relative changes too large, redraw complete canvas again. - Use touch-punch.min.js to process touch events with jquery-ui
- Even when several TH1/TGraph/TF1 objects with fill attribute overlap each other,
one able to get tooltip for underlying objects - Use jquery-ui menu for context menu
- From context menu one could select several options for drawing
- Provide user interface for executing TTree::Draw on THttpServer
- 3D graphic (three.js) works only with IE11
3.1
- Correctly show tooltips in case of overlapped objects
- Implement JSROOT.Create() method to create supported
in JavaScript ROOT classes like TH1 or TGraph - Fix problem with JSROOT.draw in HTML element with zero width (display:none)
- Provide possibility to load user scripts with JSROOT.BuildSimpleGUI
and JSROOT.AssertPrerequisites, also with main index.htm - Support of TCutG drawing
- Implement hierarchy display (former dtree) with jQuery
- Fix several problems in drawing optimization
- Implement dragging objects from hierarchy browser into existing canvas
to superimpose several objects - Implement col2 and col3 draw options, using html5 canvas
- Support 'p' and 'p0' draw options for TH1 class