Skip to content

Releases: root-project/jsroot

5.3.1

02 Nov 11:45
Compare
Choose a tag to compare
  1. Fix - show TH2 projections also when tooltip is disabled
  2. Fix - use z_handle to format Z-axis labels
  3. Fix - support labels on TH3 Z axis
  4. Fix - TH1 zooming in 3D mode
  5. Fix - suppress empty {} in TLatex
  6. Add several math symbols for TLatex
  7. Fix - font kind 1 is italic times roman
  8. Fix - do not let expand parent item in hierarchy
  9. Fix - use correct painter to check range
  10. Fix - change proper axis attributes in context menu
  11. Fix - correctly show axis labels on 3D plot
  12. Fix - correctly handle circle (style N24) as marker kind
  13. Fix - correct circle drawing with coordinates rounding
  14. Fix - TLatex #frac and #splitline, adjust vertical position
  15. Fix - workaround for y range when fMinimum==fMaximum!=-1111
  16. Fix - correct tooltips for graph with marker drawing

5.3.0

26 Sep 12:05
Compare
Choose a tag to compare
  1. New supported classes:
    • TGraphPolar
    • TGraphTime
    • TSpline3
    • TSpline5
    • TPolyLine3D
    • TPolyMarker
    • TEfficiency
    • TH1K
  2. New supported options:
    "PFC" - auto fill color (histograms and graphs)
    "PLC" - auto line color
    "PMC" - auto marker color
    "A" - fully disables axes drawing for histograms painters
    "TEXT" - for TH2Poly
    "SAMES" - draw stat box for superimposed histograms
    "NOCOL" - ignore stored in the TCanvas colors list
    "NOPAL" - ignore stored in the TCanvas color palette
  3. Improvements in existing painters:
    • use color palette stored in the TCanvas
    • draw stats box when really required
    • let resize frames and paves in all eight directions
    • support lines, boxes and arbitrary text positions in TPaveText
    • automatic title positioning of vertical axis when fTitleOffset==0
    • when pad.fTickx/y==2 draw axes labels on opposite side
    • editing of TGraph objects - moving of the graph bins
    • draw X/Y/Z axis titles in lego plots
    • use canvas Theta/Phi angles to set initial camera position in 3D plots
  4. New TLatex processor supports most ROOT features, still MathJax can be used
  5. New X/Y projections display for TH2 histograms (aka TH2::SetShowProjectionX/Y)
  6. New in geometry viewer:
    • provide shape parameters in TGeo tooltips
    • let inspect selected TGeoNode
    • provide text info when geometry drawing takes too long
  7. Change in JSROOT.draw functionality. Now valid painter instance can be only
    obtained via call-back - forth argument of JSROOT.draw() function
  8. Use latest three.js r86 with improved Projector and CanvasRenderer
    Still use own SVGRenderer which supported direct SVG text dump
  9. Introduce openui5 components for webgui functionality
  10. In all sources specify "use strict" directive

5.2.4

25 Sep 11:49
Compare
Choose a tag to compare
  1. Fix - support pow(x,n) function in formula
  2. Fix - use pad.fFillColor for frame when fFrameFillColor==0
  3. Fix - correctly identify horizontal TGaxis with reverse scale
  4. Fix - correctly handle negative line width in exclusion
  5. Fix - tooltips handling for TF1

5.2.3

23 Aug 11:31
Compare
Choose a tag to compare
  1. Fix - potential mix-up in marker attributes handling
  2. Fix - unzooming of log scale https://root-forum.cern.ch/t/25889
  3. Fix - ignore not-supported options in TMultiGraph https://root-forum.cern.ch/t/25888
  4. Fix - correctly use fGridColor from TStyle
  5. Fix - prevent error when TPaveText includes TLine or TBox in list of lines
  6. Fix - bin errors calculations in TProfile

5.2.2

03 Aug 11:15
Compare
Choose a tag to compare
  1. Fix several minor problems, discovered with "use strict" directive

5.2.1

27 Jul 15:35
Compare
Choose a tag to compare
  1. Fix - correctly handle new TF1 parameter coding convention (#132)
  2. Fix - Check if pad name can be used as element id (#133)
  3. Fix - adjust title position for vertical axis with fTitleOffset==0

5.2.0

12 May 13:45
Compare
Choose a tag to compare
  1. Basic JSROOT functionality can be used in Node.js:
    var jsroot = require("path/to/JSRootCore.js");
    One could parse ROOT JSON, read binary ROOT files (local and remote) and produce SVG.
  2. Implement dropping of TTree object on the geometry drawing.
    This automatically invokes extract_geo_tracks() function, which
    should extract TGeoTracks from provided TTree.
    Example can be found in demo/alice_esd.js and in api.htm.
  3. Implement projection of geometry on given plane.
    One could reuse drawing of geometry in other div (should be drawn with main option).
    In control GUI one could change position of the projection plane
  4. One of the TGeo drawing can be assigned as main. When same object drawn next time,
    its drawing will be derived from the main. Useful for geometry projections.
    Also all tracks and hits will be imported from main drawing.
  5. Let change background color of geo drawing.
  6. One can change web browser title, providing &title="any string" in URL.
  7. Introduce event status line, which is similar to ROOT TCanvas.
    Shown information similar to output in tooltip.
    One can enable both tooltips and status line at the same time.
  8. Introduce JSROOT.GEO.build function to create three.js model for
    any supported TGeo class. Such model can be inserted in any three.js scene
    independent from normal JSROOT drawings.
  9. Improve rendering of geometries with transparency. Use EVE approach, when transparent
    objects rendered after opaque and without writing depth buffer. Provide different
    methods to produce render order for transparent objects.
  10. Let specify initial zoom factor for geometry like opt=zoom50.
  11. Support also TPolyMarker3D class in geo painter.
  12. Implement TGeoScaledShape.
  13. Limit complexity of composite shape. If it has too many components, only most left is used.
  14. When produce canvas or pad screenshot, render 3D objects with SVGRenderer.
    Allows to combine 2D and 3D objects in same PNG image
  15. Improve MathJax.js output. It scales correctly in Firefox, makes correct alignment
    and works significantly faster.
  16. When creating image in SVG format, correctly convert url("#id") references
  17. Use latest three.js r85
  18. Fix 'transpXY' URL parameter handling - it was used as opacity, but opacity=1-transparency

5.1.2

21 Apr 11:36
Compare
Choose a tag to compare
  1. Fix - support newest TFormula in TF1 (#127)
  2. Fix - ignore NaN value in saved TF1 buffer
  3. Fix - correctly treat transparency in geo painter
  4. Fix - disable useFontCache for SVG mathjax output
  5. Fix - produce PNG image for objects with special symbols in names

5.1.1

23 Mar 11:41
Compare
Choose a tag to compare
  1. Fix - invoke callback in JSROOT.draw() at proper time
  2. Fix - support TGeoHMatrix, produced after GDML conversion
  3. Fix - support also TGeoScale and TGeoGenTrans matrices
  4. Fix - update histograms with all provided functions (#125)

5.1.0

23 Feb 15:36
Compare
Choose a tag to compare
  1. New 'float' browser kind overlays with objects drawing
  2. Browser can be enabled after drawing with 'nobrowser' mode
  3. One can hide browser or switch browser kind at any time
  4. New 'horizontal' and 'vertical' layouts for object display.
    One could configure several frames, each divided on sub-frames.
    Like display=horiz231 will create three horizontal frames,
    divided on 2,3 and 1 sub-frames.
  5. Optional status line where current tooltip info will be shown
  6. Improve enlarge functionality - now works with all layouts
  7. Do not display all canvas tool buttons by default - provide toggle button instead
  8. Let move TAxis title, its position now similar to ROOT graphics
  9. Support 'col0' option for TH2Poly class to suppress empty bins
  10. Implement for TH3 'box2', 'box3', 'glbox2', 'glcol' draw options
  11. Support more superscript/subscript letters in normal text output
  12. Correctly handle unzoom with logx/logy scales
  13. Let disable stamp parameter in file url with "-" sign at the end of file name
  14. Let use quotes in the URL parameters to protect complex arguments with special symbols
  15. Introduce direct streamers - like TBasket or TRef
    Benefit - one can add custom streamers of such kind or reuse existing
  16. Handle TMatrixTSym classes in I/O
  17. Correctly count TH3 statistic in TTree::Draw
  18. Recognize bower installation when "bower_components/jsroot/scripts" string
    appears in the script path (#120)