Skip to content

Releases: root-project/jsroot

5.3.4

19 Dec 10:05

Choose a tag to compare

  1. Fix - several problem in TLatex preprocessing for MathJax.js
  2. Fix - use "E" draw options for THStack only when no any other specified

5.3.2

27 Nov 13:30

Choose a tag to compare

  1. Fix - use FontSize when draw TLegend entries
  2. Fix - correctly show TH2 overflow stats
  3. Fix - tooltips handling for TH1 hbar drawings
  4. Implement JSROOT.toJSON() function to produce ROOT JSON string

5.3.1

02 Nov 11:45

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

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

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

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

Choose a tag to compare

  1. Fix several minor problems, discovered with "use strict" directive

5.2.1

27 Jul 15:35

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

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

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