- Let use custom time zone for time display, support '&utc' and '&cet' in URL parameters
- Fix - hide empty title on the canvas
- Fix - properly select TF1 range after zooming
- Fix - TH1 y-range selection
- Fix - add 'gl' and svg2pdf-related packages to dependencies in package.json
- Let plot current time, file creation or modification time with
&optdate=[1,2,3]
URL parameters - Let plot file name, full file name or item name with
&optfile=[1,2,3]
URL parameters - Let define date and file name position with
&datex=0.03&datey=0.03
URL parameters - Improve TRatioPlot axis and lines drawing
- Use localStorage to preserve custom settings and gStyle
- Let configure custom storage prefix with
&storage_prefix=name
URL #290 - Let customize URL for "Show in new tab" menu command
- Support both new and old TRatioPlot drawings
- Synchronize X/Y range selection with native ROOT
- Proper handle attributes from TH2Poly bins, support "p" for markers drawing
- Correctly scale size of axis ticks - take into account NDC axis length
- Set name and userData in geometry
build()
function #303 - Draw histogram title afterwards - place in front of stats box
- Upgrade three.js r158 -> r162, last with WebGL1 support
- Split extras into three_addons.mjs, provide jsroot geometry build without three.js
- Fix - correctly draw only grids with AXIG draw option
- Fix - log scales on TH3 drawings #306
- Fix - draw geometry top node volume if all childs not visible #308
- Fix - properly process 206 server response without Accept-Ranges header https://root-forum.cern.ch/t/59426/
- Remove source_dir output in node.js #296
- Fully integrate svg2pdf.js into jsroot repo
- Fix - support plain TRI option for TGraph2D
- Fix - let read object from ROOT file with empty name
- Fix - graph drawing fix custom labels on X axis #297
- Fix - draw at least line for TGraphErrors ROOT-8131
- Fix - preserve attributes and draw options when call drawingJSON() #307
- Fix - menu for text align selection typo
- Implement "tickz" draw option, used for color palette ticks
- Implement skewness and kurtosis calculations for histogram stats box
- Introduce "logv" draw option for
TH3
, configures logarithmic scale for box volume - Implement color palette drawing for
TH3
- Implement cutg draw option for
TH2
/TF2
surface plots - Implement
TMath::Sq()
function and several others like SinH, ASinH, ... - Implement histogram drawing build from
TGraph2D
using Delaunay interpolation - Provide preliminary
TF3
support - Support
TLinearGradient
andTRadialGradient
colors - Support LZMA decompression of ROOT files #272
- Include ZSTD decompression to repository #274
- Support opacity transfer function for
TH3
, see tutorials/gl/glvox2.C - Upgrade three.js r155 -> r158
- Handle TCanvas IsEdiatable flag to disable some interactive features
- Support PDF creation using jsPDF and svg2pdf.js - in browser and node.js
- Implement custom fonts support in TWebCanvas
- List of ROOT/JSON files on server with
&dir=<path>
URL parameter #283 - Load TGaxis function from the file #282
- Let display progress messages in modal element #285
- Fix - do not add
THStack
andTMultiGraph
to legend - Fix - correctly use margin in
TPaveText
class - Fix - correctly draw endcaps in legend errors
- Fix - vertical position of up elements like {M}^{2} in TLatex
- Fix - let draw THStack with diff binning hists
- Fix - better tooltip name for the items
- Fix - better logy scale selection
- Fix - abort tree draw operation faster
- Fix - support plain TRI option for TGraph2D
- Fix - use latest npm "gl" module
- Fix - catch exception when parsing TF1 formula
- Fix - properly check THStack histograms axes when doing sum
- Fix - correctly handle negative offset on time axis
- Fix - do not use
inset
because of old Chrome browsers - Fix - properly provide object hints
- Fix - draw histograms with negative bins #276
- Fix - correctly read TLeaf with fixed-size array
- Fix - bug in options handling in startGUI
- Fix - greyscale support in TLegend drawing
- Fix - correctly use text font for TGaxis title
- Fix - preserve auto colors in THStack #277
- Fix - correctly set pave name #278
- Fix - proper fit pars display in stats, proper #chi^{2}
- Fix - several bugs in TFormula parsing
- Fix - correctly use saved buffer in TF1/TF2
- Fix - properly adjust size of stats box
- Fix - support pol0..pol9 functions
- Fix - TGraph bar width should be at least 1 pixel
- Fix - prevent drawing of empty TGraph
- Fix - expand item in hierarchy painter
- Fix - correctly use saved TF1 values for non-equidistant bins #270
- Fix - in log scales replace 10^1 label by 10
- Fix - vertical align of log labels on X axis
- Fix - second click of the same item in hierarchy painter
- Correctly implement
TH2
projections like MERCATOR or PARABOLIC, add MOLLWEIDE - Support "pol", "cyl", "sph" and "psr" coordinates systems for lego and surf plots
- Support orthographic camera for lego and surface plots
- Implement "tri1", "tri2", "triw" draw options for
TGraph2D
with Delaunay algorithm - Add support of
TProfile3D
andTPaveClass
classes - Use "col" as default draw option for
TH2
, "box2" forTH3
- Draw axes grids in front of objects - making it equivalent to original ROOT
- Change
TF1
andTF2
drawing - always convert into histogram, support TWebCanvas, handle log scales - Provide "Bring to front" menu command for different objects like pave, box, marker, ...
- Provide "Build legend" context menu command for the pad
- Let toggle vertical/horizontal flag for color palette via context menu
- Support canvas grayscale, let toggle via context menu
- Basic latex support when drawing axes labels and titles in 3D
- Handle "dark mode" in geom painter - automatically adjust background
- Let configure material and scene properties in geom control gui
- Reset pad enlarge state when pressing "Escape" key #265
- Scale special fill patterns like 3244 to pad size
- Add "Superimpose" menu command in hierarchy - let select draw option when append item to pad
- Support
inspectN
draw option, allows automatically expand object content to specified level - Implement
allfunc
draw option for histograms, force drawing disregard of TF1::kNotDraw bit - Use
eslint
for static code checking, add testing of interactive features - Upgrade three.js r151 -> r155
- Use https://github.com/georgealways/lil-gui/ instead of dat.GUI in geom painter
- Put
gl
in "devDependencies" of package.json; one can skip it installation withnpm i --production
- Fix - correct scaling of axis labels when tilt them by 25 degree, make this angle configurable
- Fix - legend multi-columns drawing and labels scaling
- Fix - graph "B" bar widths as in native ROOT
- Fix - use pad and not frame size for
TText
/TLatex
scaling - Fix - properly handle "NB" (no border) draw option for
TPave
classes - Fix - do not draw histogram title with AXIS draw option
- Fix - correct scaling of custom axis labels
- Fix - shrink axis labels like 0.20 -> 0.2 or 10^0 -> 1
- Fix - copy axis attributes from histogram z scale to palette
- Fix - let handle derived from TH1/TH2 classes as histograms #269
- Fix - correctly use GMT specifier in time format
- Fix - logical error in
decodeUrl
- Fix - member-wise streaming of std::map #262
- Fix - unzoom z on lego2 plots
- Fix - browsing TLists with nullptr inside
- Fix - check NaN values when performing TTree::Draw()
- Fix - support standard log function in TF1/TF2
- Fix - context menu position on lego plots
- Fix - add missing math functions Chebyshev0 and normalized Gaus
- Fix - correctly render TPolyLine3D
- Fix - properly add interactive resize elements for paves and frame
- Fix - drag and drop handling on tabs layout
- Upgrade d3.js v7.6.1 -> v7.8.4
- Upgrade three.js r146 -> r151
- Support
[cutg]
draw option for TH2 - Correctly handle
same0
draw option for TH2 - Fix several issues with axis reverse order, support on lego plots
- Support more kinds of log scales - ln and logN where N is any positive integer
- Adjust TAxis title positioning to native ROOT behavior
- Add interactivity (moving, context menu) for TLine, TBox, TText, TLatex, TDiamond, TGaxis, TASImage
- Use new gStyle attributes for candle and violin plots
- Implement autoplace for TLegend, also via context menu
- Change algorithm of building smooth (bezier) curves
- Let change physical node visibility in TGeo drawings
- Use TGaxis attributes from gStyle - fAxisMaxDigits, fStripDecimals and exponent offset
- Implement "projxy" draw option for TH2 - like projxy3 or projx1_y5
- Support custom function in TGaxis - when drawn in TWebCanvas
- Introduce settings.WithCredentials, set xhr.withCredentials = true when submitting HTTP requests
- Let superimpose TH3 and geo drawings
- Apply pad draw options like 'gridx' or 'logy' to all subpads
- Support new TScatter and TAnnotation classes
- Implement moving and resizing of subpads
- Implement zooming in the TASImage
- Let configure position and direction of camera for TGeo, let create URL for that
- Support labels rotation for simple axis in geometry
- Support many orthographic cameras with overlayed grid/labels
- Support InstancedMesh for TGeo drawing, let show really large geometries
- Implement 'inject=path/script_name.js' url option to inject scripts without emulating of v6
- Exclude 'HEAD' http request when reading ROOT file, all necessary info can be get from first real HTTP request
- Provide makeImage function for generation of svg, png and jpeg images in batch and interactively (#257)
- Implement interactive zoom shifting when middle-mouse button down or single-touch moving
- Several improvements for touch devices or devices with small displays
- Remove settings.FrameNDC, use Style.fPadLeft/Right/Top/BottomMargin values instead
- Fix - rescan sumw2 when update TH1
- Fix - correct placing for TLegend header
- Fix - correctly align sub/super scripts in complex TLatex
- Fix - correctly set visibility level for geo drawing (#258)
- Fix - use more factor for number of nodes in geo drawing (#258)
- Fix - failure in normal_cdf calculation
- Fix - check in TTree::Draw for null buffer
- Fix - do not rise exception in treeProcess
- Fix - RH1 zero line drawing only when required
- Fix - do not allow move float browser too far left/top
- Fix - undefined graph in TGraphPainter
- Fix - error in showing info in the geo painter
- Fix - stack limitation with Math.min.apply in tree draw
- Fix - TGeo update in the TWebCanvas
- Fix - several tutorials with three.js modules loading
- Fix - redraw pad when change text align attributes
- Fix - pad ranges for TWebCanvas, handle log2 scales
- Fix - support candle and violin options when creating string draw option
- Fix - labels and tooltips on reversed axes
- Fix - zooming on TRatioPlot
- Fix - pad ranges calculations for TWebCanvas
- Fix - set proper background for geo drawing
- Mark methods returning
Promise
as async - Upgrade three.js to r146
- Fix several bugs in
csg.mjs
, improve geometry clipping - Provide
settings.PreferSavedPoints
to exclude function evaluation when there are saved points - Add more interactive features with
TWebCanvas
- 3-dimensional
TTree::Draw()
now producesTPolyMarker3D
by default - Force MathJax rendering when
\
symbol is found (#243) - Support
TButton
class - Remove
localfile
url option, only interactively one can open file selection dialog - Fix - show correct bin index in
TH2
tooltips - Fix - interactive move/resize on touch devices
- Fix - correctly handle axis zooming on lego plots
- Fix - histogram statistics calculation with negative bins
- Base version for ROOT 6.28 release
- Fix - prevent glitch when enabling projection via context menu
- Fix -
multi.json
request parsing - Fix - decoding of multipart message (#250)
- Fix - use alpha channel for TColor when intended
- Backport
settings.PreferSavedPoints
only forTF1
- Use TAxis attributes in lego plots - ticks/labels/title colors, sizes, offsets
- Correctly resize stats box when number of lines changes
- Support JSROOT usage with yarn and webpack
- Provide
FileProxy
class to let read ROOT files from arbitrary place - Let 'hook' save file functionality to use alternative method to store image files
- Implement 'tabs' layout for objects display (#238)
- Upgrade d3.js to version 7.6.1
- Fix - adjust pad margins when moving palette and frame
- Fix - let modify node visibility bits via context menu
- Fix - menu position adjusting
- Fix - tree_draw.js example, export treeDraw function from main.mjs
- Fix - TH3 scatter plot with large number of bins converted to box2
- Fix - create geo css entries also when expand object in hierarchy (#240)
- Let change
settings
andgStyle
parameters via "Settings" menu of the top hierarchy item - Settings and gStyle can be stored as cookies, automatically read when next time loading webpage
settings.OnlyLastCycle
defines if only last object version shown in TFile (also as&lastcycle
URL parameter)settings.DarkMode
configures dark mode for GUI and drawings (also as&dark
URL parameter)- Support new
TGraph2DAsymmErrors
class - Support
gStyle.fOptDate
andgStyle.fOptFile
(also as&optdate
and&optfile
URL parameter) - Support
gStyle.fDateX
andgStyle.fDateY
used for positioning date and file on canvas - Support
gStyle.fHistTopMargin
(also as&histmargin=value
URL parameter) - Let save frame, title and stats properties to
gStyle
via correspondent context menus - Support majority of special symbols in TMathText
- Fix several issues with TPaveText
- Fix - TH2 arrow drawing
- Fix - interactive change of fonts attributes
- Fix - proper draw results of TTree::Draw
- Fix - draw new histogram on same canvas
- Fix problem with irregular axis labels
- Correctly scale and tilt large number of axes labels
- Use ES6 modules for code organization
- Rewrite code with ES6 classes; one have to use class syntax to derive from it
- Upgrade d3.js to 7.3.0, three.js to r138
- Fully remove jQuery and jQueryUI, replace by plain HTML/JavaScript
- Remove "collapsible" and "tabs" layouts which were implemented with jQuery - use "flex" instead
- Improve flexible layout, provide context menu with cascading, tiling, selecting frames
- Use
BigInt
in I/O with 64bit integer which can not be stored as plainNumber
- Starting from Chrome 96, allow embedding WebGL into SVG - solving problem with lego plots in canvas
- Implement all variants of CANDLE and VIOLIN draw options (#194)
- Implement "circular" and "chord" draw options for TH2
- Implement "cjust" draw option when drawing color palette
- Implement "colhz" draw option to plot horizontal color palette
- Implement "pads" draw option for THStack
- In TF1/TF2 always try to use formula, only when fail - apply saved buffer
- Add many standard functions to math like "crystalball_pdf", "gaussian_pdf", "tdistribution_pdf"
- Improve drawing of TEfficiency, support 2D case
- Support new TGraphMultiErrors class
- Let disable TGraph dragging via
settings.DragGraphs
flag (#224) - Correctly display extra data from TGraphQQ
- Implement "3d" draw options for TMultiGraph
- Support "A" hist option (do not draw axis) in lego/surf plots
- Support drawing of TGeo and TAxis3D objects inside TPad
- Implement proper drawing of TEllipse
- Add proper support of "Symbols" and "Wingdings" fonts
- Make "col" default draw option for TH2 in JSROOT gui
- Fix bug in handling superimposing items via URL syntax
- Enable geometry clipping in node.js
- Upgrade node.js packages
- Let draw TGeo object inside TCanvas
- Let superimpose TPolyLine3D and TPolyMarker3D with TGeo drawing
- Fix plain #sum and #int parsing in TLatex
- Fix ticks position for axes with labels
- Fix TEfficiency drawing
- Provide TPadPainter.divide method
- Fix browsing remote file via THttpServer
- Fix lego draw update while zooming
- Fix bug in TH1 drawing when minimum or/and maximum was configured for histogram
- Fix bug with col draw option in TH2/RH2
- Fully rewrite TLatex parsing, use svg elements instead of plain text/tspan
- Make TLatex reliably working in node.js, does not depend from availability of canvas component
- Many optimizations to produce smaller (and faster) SVG output
- Provide x3dscNNN and y3dscNNN draw option for histogram to resize x/y axis in 3D plots
- Provide "Find label" command in TAxis context menu to zoom into bin region
- Allows to use JSROOT.define() in external scripts
- Provide JSROOT.Painter.setDefaultDrawOpt() to change class default draw option
- Provide example of custom entries in histogram context menu
- Provide alternative external location for zstd-codec, let use zstd even when not found locally
- Let skip HEAD requests when reading files, adding "^" symbol to file name (#223)
- Show long histogram names in stats box when possible
- Fix logic how "ndiv" parameter of TAxis is handled, showing really the configured number of ticks
- Fix problem with curved TGraph drawings (#218)
- Fix problems with TGraph drawing updates
- Base version for ROOT 6.26 release
- Fix - proper fill TH1 which drawn with line option
- Fix - object drawing from inspector
- Fix - error with filling data of TGeoTrack in "extract tracks" example
- Fix - error in pad items context menu
- Fix - assigned dropped item name only when new painter created
- Fix logy and logz handling on lego plots
- Fix error in statistic calculations for projections
- Fix zstd-codec loading with minified jsroot scripts
- Support fully interactive second X/Y axis for histograms, graphs, functions and spline
- Support X+, Y+, RX, RY draw options for TF1
- Remove deprecated JSRootCore.js script, one have to use JSRoot.core.js
- Upgrade three.js to r127
- Upgrade d3.js to 6.7.0
- Implement "nozoomx" and "nozoomy" draw options for TPad
- Implement "frame" draw option for TGaxis - fix position of axis relative to the frame
- Preserve position of TPaletteAxis, if provided with histogram; make default position like in ROOT
- Support basic TLatex symbols in lego plos axis title
- Use frame margins when create 3D lego drawings
- Implement "nomargins" draw option for pad/canvas
- Support custom mouse click/dblcklick handlers in lego plots
- Implement marker styles 35 - 49
- Let switch orthographic camera in geometry via control gui (#217)
- Fix drawing of custom markers on 3D, also in node.js (#205)
- Fix bug in TFrame drawing, some interactive features was not properly working
- Support drawing produced by TRatioPlot, including interactive zooming
- Fix problem with TF1 drawing from histogram list of primitives
- Let disable showing of StreamerInfo in the GUI by adding &skipsi to URL
- Provide tooltips when TH1 drawn with "E" or "P" option
- Fix problem with zooming of many overlayed histograms
- API change -> PadPainter.zoom function returns Promise now
- Support gridx/y, tickx/y, logx/y options for (multi) graphs painter
- Provide simple Rebin functionality for TH1 (#210)
- Use jQuery dialog to input values, avoid prompt() which not always supported (#216)
- Fix ZSTD size limitation, use streaming API (#214)
- Prevent endless recursion in JSROOT.parse() function
- Fix problem with matrix calculations in Eve classes (#206)
- Fix errors in TNodejsFile (#208)
- Fix TGraph tooltips handling
- Fix TH2Poly tooltips handling
- Major release with:
- incompatible changes in API
- heavy use of Promise class
- upgrade all used packages
- Use generic naming convention - all class names always starts from capital letter like "ObjectPainter", all function names starts from small letter like "painter.getObjectHint()"
- Rename JSRootCore.js -> JSRoot.core.js, eliminate all URL parameters. Loading of extra JSROOT functionality should be done via JSROOT.require() method All other scripts uses similar naming convention.
- JSROOT.draw()/JSROOT.redraw() functions returns Promise, deprecate callback parameter
- Introduce JSROOT.httpRequest() function which returns Promise instance, deprecate JSROOT.NewHttpRequest() function
- JSROOT.openFile() returns Promise with file instance, deprecate callback parameter
- Provide new code loader via JSROOT.require()
- introduces clean dependencies in JSROOT code
- by default uses plain script loading emulating require.js behavior
- can use require.js when available
- uses require() method when running inside node.js
- supports openui5 sap.ui.require loader if available before JSRoot.core.js
- deprecates old JSROOT.AssertPrerequisites() function
- Upgrade d3.js to v6.1.1, skip support of older versions
- Upgrade three.js to r121:
- SoftwareRenderer deprecated and removed
- let use WebGL for browser, batch and node.js (via headless-gl)
- support r3d_gl, r3d_img, r3d_svg rendering options for TGeo and histograms
- keep support of SVGRendered as backup solution
- Upgrade MathJax.js to version 3.1.1
- reliably works in browser and node.js!
- all latex/mathjax related methods moved to special JSRoot.latex.js script, loaded on demand
- Update jquery to 3.5.1, openui5 to 1.82.2
- Use JS classes only in few places - performance is not good enough compared to Object.prototype
- Deprecate IE support
- Deprecate bower package manager
- Add support of ZSTD compression - works only on https://root.cern/js/ website
- Add support of log2 scale for axes drawing, v7 can have arbitrary log base
- Improve TH2 col drawings for large number of bins - up to factor 5 faster
- Allow to move axis title to opposite position
- Fix zooming in color palette
- Implement monitoring of object inspector
- Fix zooming in color palette
- Fix interactive update of TGraph painting on time scale
- Fix I/O error in reading std::map (#204)
- Fix functionality of "open all" / "close all" GUI buttons
- Support RX and RY drawing option together with COL of TH2
- Add support of #overline, #underline, #strike into TLatex parsing (#196)
- Add support of TGeoTessellated shape
- Major changes in v7 drawing: RFrame, RPalette, RColor, RStatBox, ...
- Fix in reading std::map member-wise
- Better handling of context menu position
- Support TASImage class - both PNG and binary content, including palette
- Let change TH2 values range via context menu
- Fix problem with TH2 col drawing when bins size too small
- Fix - tooltip handling for TH2 Error draw
- Fix - use proper "fixed" position for enlarged drawing
- Fix - correctly extract TF1 parameter names
- Fix - keep stat box when update histogram drawing
- Fix - context menu for axes in 3D drawings
- Fix - use Math.floor when search for bin label
- Fix - renable correct highlight of TGraphErrors
- Fix - adjust TH1/TH2/TAxis values to let stream them in ROOT
- Fix - adjust TH[1,2,3].Fill() method to update entries count
- Many TGeo-related changes:
- use TGeoManager::fVisLevel in geometry painter
- "showtop" draw option for TGeoManager (equivalent to gGeoManager->SetTopVisible())
- "no_screen" draw option to let ignore kVisOnScreen bits for display, checked first by default
- radial and z-axis interactive transformation for TGeo drawings
- improve "comp" and "compx" option to show TGeoCompositeShape components
- support of TGeo objects embed in TCanvas
- monitoring of TGeoManager with THttpServer
- "rotyNN" and "rotzNN" options to TGeo painter - let customize camera position
- context menu command to show current camera position
- New and simpler TArrow drawing without use of svg markers, interactive movement of TArrow class
- Support different marker styles in 3D drawings
- Support "texte" and "texte0" draw options for TH2/TProfile2D classes
- Provide wrong_http_response workaround (#189)
- Update objects from list of histogram functions (#190)
- Fix - add missing factor in TGeoPgon shape
- Fix - correctly handle "sync" specifier in JSROOT.NewHttpRequest
- Fix - verify that TH1/TH2 superimposing in 3D works properly
- Fix - use provided options in JSROOT.redraw function
- Fix - arb8 shape, used in composite
- Fix - cover for WebVR API inconsistencies in Android devices (#184)
- Fix - add more checks in TF1 GetParName/GetParValue methods (#185)
- Fix - bins highlight in lego drawing with "zero" option
- Fix - drawing tracks with geometry from TObjArray
- Fix - interactive TGraph point move on time scale
- Fix - arb8 shapes faces building
- Add support of TProfile2Poly class
- Add support of TGeoOverlap class, provide access from TGeoManager
- Add support of TGeoHalfSpace for composites
- Implement TF2 drawings update, see tutorials/graphics/anim.C
- Improve windows handling in flex(ible) layout
- Better position for text in TH2Poly drawings
- Enable projections drawing also with TH2 lego plots
- Use gStyle attributes to draw histogram title
- Use requestAnimationFrame when do monitoring, improves performance
- Support eve7 geometry viewer - render data generated in ROOT itself
- Many adjustment with new TWebCanvas - interactivity, attributes/position updates
- Provide initial WebVR support (#176), thanks to Diego Marcos (@dmarcos)
- Upgrade three.js 86 -> 102, use SoftwareRenderer instead of CanvasRenderer
- Upgrade d3.js 4.4.4 -> 5.7.0
- Use d3.js and three.js from npm when running with node.js
- Fix - support clipping for tracks and points in geo painter
- Fix - drawing of TGeoNode with finder
- Fix - key press events processed only in active pad (ROOT-9128)
- Fix - use X0/Y0 in xtru shape (#182), thanks to @altavir
- Move most of ui5-specific code into ROOT repository, where it will be maintained
- Provide special widget for object inspector
- Fix - try workaround corrupted data in TTree
- Fix - support min0 draw option like ROOT does
- Fix - correctly handle TH2Poly draw options
- Fix - seldom error in JSROOT.cleanup
- Fix - repair TTree player UI
- Fix - error in TH3 filling
- Fix - correctly access top element in simple layout
- Fix - exclude duplicated points when drawing TH2 with SURF3 options
- Fix - support clipping for tracks and points in geo painter
- Fix - geometry with TGeoNodeOffset was not correctly drawn
- Fix - use proper formatting for entries and integral (#179)
- Fix - TTree::Draw for 3d histogram was not properly performed
- Fix - correctly handle negative parameter values in TF1/TF2
- Add TMath.BreitWigner function
- Support custom streamers for TMaterial and TMixture (very old examples)
- Fix Y-scale drawing of THStack (https://root-forum.cern.ch/t/31266)
- Fix - select palette from colz element
- Fix - LZ4 uncompression of large buffers
- By drawing outline speed up (factor 10) canvas with many small sub-pads
- Let configure user click and double-click handlers, extend tooltip.htm example
- Implement workaround for standard THREE.SVGRenderer - no need for patched version
- When producing 3D graphical images in batch, use normal THREE.CanvasRenderer
- Use WebGL renderer in Chrome headless mode for 3D images generation
- Provide possibility to create SVG files for canvas or frame (#172)
- Support text drawing with TH1 bar option
- Fix - when drawing text, reserve extra y range to show it correctly
- Migrate to Node.js 8, do not support older versions
- Fix - draw TH2Poly bins outline when no content specified
- Fix - always set axis interactive handlers (#170)
- Fix - take into account zaxis properties when drawing color palette (#171)
- Fix - adjust v7 part to new class naming convention, started with R
- Fix - show RCanvas title
- New - implement 'nocache' option for JSROOT scripts loading. When specified in URL with JSRootCore.js script, tries to avoid scripts caching problem by adding stamp parameter to all URLs
- New - provide simple drawing for TObjString (#164)
- Introduce JSROOT.StoreJSON() function. It creates JSON code for the TCanvas with all drawn objects inside. Allows to store current canvas state
- Support "item=img:file.png" parameter to insert images in existing layout (#151)
- Support TTree drawing into TGraph (#153), thanks @cozzyd
- Let configure "&toolbar=right" in URL to change position of tool buttons
- Let configure "&divsize=500x400" in URL of size of main div element (default - full browser)
- Implement "optstat1001" and "optfit101" draw options for histograms
- Remove "autocol" options - standard "plc" should be used instead
- Provide drawing of artificial "$legend" item - it creates TLegend for all primitives in pad Can be used when several histograms or several graphs superimposed
- Let configure "&toolbar=vert" in URL to change orientation of tool buttons
- Improve markers and error bars drawing for TH1/TProfile
- Fix - draw functions also when histogram "same" option used (#159)
- Fix - when draw histogram as markers improve optimization algorithm
- Fix - correct histogram Y-axis range selection in logarithmic scale
- Fix - for TH2 draw options allow combination "colztext" (#162)
- Fix - PNG file generation with 3D drawings inside
- Fix - take into account extra quotes in multipart http reply (#157)
- Fix - display of labels on X axis with TProfile
- Fix - support time display in TMultiGraph
- Fix - correctly parse "optstat" and "optfit" in URL
- Fix - correctly update TGraph drawing when X range is changing
- Fix - return only TF1/TF2 object when searching function (#158)
- Fix - monitoring mode in draw.htm page
- Fix - zooming in colz palette
- Fix - support both 9.x and 10.x jsdom version in Node.js (#149)
- Fix - draw axis main line with appropriate attributes (#150)
- Fix - use axis color when drawing grids lines (#150)
- Fix - when set pad logx/logy, reset existing user ranges in pad
- Fix - avoid too deep calling stack when drawing many graphs or histos (#154)
- Fix - correctly (re)draw tooltips on canvas with many subpads
- New supported classes:
- TDiamond
- TArc
- TCurlyLine
- TCurlyArc
- TCrown
- New draw options:
- "RX" and "RY" for TGraph to reverse axis
- "noopt" for TGraph to disable drawing optimization
- "CPN" for TCanvas to create color palette from N last colors
- "line" for TGraph2D
- New features:
- support LZ4 compression
- tooltips and zooming in TGraphPolar drawings
- TPavesText with multiple underlying paves
- implement all fill styles
- draw borders for TWbox
- draw all objects from TList/TObjArray as they appear in list of primitives
- let enable/disable highlight of extra objects in geometry viewer
- draw axis labels on both sides when pad.fTick[x/y] > 1
- make drawing of TCanvas with many primitives smoother
- add fOptTitle, fOptLogx/y/z fields in JSROOT.gStyle
- Behavior changes:
- disable automatic frame adjustment, can be enabled with "&adjframe" parameter in URL
- when drawing TH2/TH3 scatter plots, always generate same "random" pattern
- use barwidth/baroffset parameters in lego plots
- Bug fixes:
- use same number of points to draw lines and markers on the TGraph
- correctly draw filled TArrow endings
- let combine "L" or "C" TGraph draw option with others
- correct positioning of custom axis labels
- correctly toggle lin/log axes in lego plot
- let correctly change marker attributes interactively
- Fix - correctly show histogram with negative bins and fill attributes (#143)
- Fix - correct animation for status line (when visible)
- Fix - correctly set lin/log settings back top TPad object
- Fix - correctly use preloaded d3.js in notebooks/require.js environment
- Cached Latex regex to improve drawing speed (#145)
- Fix - several problem in TLatex preprocessing for MathJax.js
- Fix - use "E" draw options for THStack only when no any other specified
- Use latest jsdom and mathjax-node packages (Node.js only)
- Fix - use FontSize when draw TLegend entries
- Fix - correctly show TH2 overflow stats
- Fix - tooltips handling for TH1 hbar drawings
- Implement JSROOT.toJSON() function to produce ROOT JSON string
- Fix - show TH2 projections also when tooltip is disabled
- Fix - use z_handle to format Z-axis labels
- Fix - support labels on TH3 Z axis
- Fix - TH1 zooming in 3D mode
- Fix - suppress empty {} in TLatex
- Add several math symbols for TLatex
- Fix - font kind 1 is italic times roman
- Fix - do not let expand parent item in hierarchy
- Fix - use correct painter to check range
- Fix - change proper axis attributes in context menu
- Fix - correctly show axis labels on 3D plot
- Fix - correctly handle circle (marker style 24) as marker kind
- Fix - correct circle drawing with coordinates rounding
- Fix - TLatex #frac and #splitline, adjust vertical position
- Fix - workaround for y range when fMinimum==fMaximum!=-1111
- Fix - correct tooltips for graph with marker drawing
- New supported classes:
- TGraphPolar
- TGraphTime
- TSpline3
- TSpline5
- TPolyLine3D
- TPolyMarker
- TEfficiency
- TH1K
- 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
- 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
- New TLatex processor supports most ROOT features, still MathJax can be used
- New X/Y projections display for TH2 histograms (aka TH2::SetShowProjectionX/Y)
- New in geometry viewer:
- provide shape parameters in TGeo tooltips
- let inspect selected TGeoNode
- provide text info when geometry drawing takes too long
- Change in JSROOT.draw functionality. Now valid painter instance can be only obtained via call-back - forth argument of JSROOT.draw() function.
- Use latest three.js r86 with improved Projector and CanvasRenderer Still use own SVGRenderer which supported direct SVG text dump
- Introduce openui5 components for webgui functionality
- In all sources specify "use strict" directive
- Fix - support pow(x,n) function in formula
- Fix - use pad.fFillColor for frame when fFrameFillColor==0
- Fix - correctly identify horizontal TGaxis with reverse scale
- Fix - correctly handle negative line width in exclusion
- Fix - tooltips handling for TF1
- Fix - potential mix-up in marker attributes handling
- Fix - unzomming of log scale https://root-forum.cern.ch/t/25889
- Fix - ignore not-supported options in TMultiGraph https://root-forum.cern.ch/t/25888
- Fix - correctly use fGridColor from TStyle
- Fix - prevent error when TPaveText includes TLine or TBox in list of lines
- Fix - bin errors calculations in TProfile
- Fix several problems, discovered with "use strict" directive
- Fix - correctly handle new TF1 parameter coding convention (#132)
- Fix - Check if pad name can be used as element id (#133)
- Fix - adjust title position for vertical axis with fTitleOffset==0
- 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.
- 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.
- 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
- 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.
- Let change background color of geo drawing.
- One can change web browser title, providing &title="any string" in URL.
- 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.
- 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.
- 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.
- Let specify initial zoom factor for geometry like opt=zoom50.
- Support also TPolyMarker3D class in geo painter.
- Implement TGeoScaledShape.
- Limit complexity of composite shape. If it has too many components, only most left is used.
- When produce canvas or pad screenshot, render 3D objects with SVGRenderer. Allows to combine 2D and 3D objects in same PNG image
- Improve MathJax.js output. It scales correctly in Firefox, makes correct alignment and works significantly faster.
- When creating image in SVG format, correctly convert url("#id") references
- Use latest three.js r85
- Fix 'transpXY' URL parameter handling - it was used as opacity, but opacity=1-transparency
- Fix - support newest TFormula in TF1 (#127)
- Fix - ignore NaN value in saved TF1 buffer
- Fix - correctly treat transparency in geo painter
- Fix - disable useFontCache for SVG mathjax output
- Fix - produce PNG image for objects with special symbols in names
- Fix - invoke callback in JSROOT.draw() at proper time
- Fix - support TGeoHMatrix, produced after GDML conversion
- Fix - support also TGeoScale and TGeoGenTrans matrices
- Fix - update histograms with all provided functions (#125)
- New 'float' browser kind overlays with objects drawing
- Browser can be enabled after drawing with 'nobrowser' mode
- One can hide browser or switch browser kind at any time
- 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.
- One could enable status line where current tooltip info will be shown
- Improve enlarge functionality - now works with all layouts
- Do not display all canvas tool buttons by default - provide toggle button instead
- Let move TAxis title, its position now similar to ROOT graphics
- Support 'col0' option for TH2Poly class to suppress empty bins
- Implement for TH3 'box2', 'box3', 'glbox2', 'glcol' draw options
- Support more superscript/subscript letters in normal text output
- Correctly handle unzoom with logx/logy scales
- Let disable stamp parameter in file url with "-" sign at the end of file name
- Let use quotes in the URL parameters to protect complex arguments with special symbols
- Introduce direct streamers - like TBasket or TRef Benefit - one can add custom streamers of such kind or reuse existing
- Handle TMatrixTSym classes in I/O
- Correctly count TH3 statistic in TTree::Draw
- Recognize bower installation when "bower_components/jsroot/scripts" string appears in the script path (#120)
- Fix - prevent exception when discover HTML element position (#121)
- Fix - prevent I/O failure when server automatically gzip response (#119)
- Fix - lego drawing for stacked TH1 histograms
- Fix - when change global tooltips settings, also change for each sub-pad
- Fix - read branch entries as arrays
- Fix - command submission to THttpServer
- Fix - let refill statbox also for empty histogram
- Fix - problem with online TTree::Draw and ROOT6
- Support older ROOT files, created before 2010
- Support TBranchObject - appears in old files
- Correctly set TBasket buffer position for the entry
- Fix - problem with empty STL containers
- Fix - empty baskets at the end of branch store
- Fix - problem with zooming in THStack
- Reading TTree data
- all kinds of branches, including split STL containers
- branches with several elementary leaves
- branches from different ROOT files
- JSROOT.TSelector class to access TTree data
- simple access to branch data with "dump" draw option
- TTree::Draw support
- simple 1D/2D/3D histograms
- simple cut conditions
- configurable histogram like "px:py>>hist(50,-5,5,50,-5,5)"
- strings support
- iterate over arrays indexes, let use another branch as index values
- support "Entry$" and "Entries$" variables in expressions
- bits histogram like "event.fTracks.fBits>>bits(16)"
- special handling of TBits
- arbitrary math function from JavaScript Math class, some TMath:: function from ROOT
- if branch is object, one could use methods "TMath::Abs(lep1_p4.X()+lep1_p4.Y())"
- interactive player to configure and execute draw expression
- Full support of Float16_t and Double32_t types in I/O
- Drawing of RooPlot objects, I/O support for RooFit classes
- Many improvements in object inspector
- support of large lists; only first part is shown
- support of large arrays; values group in decades
- allow to call draw function for sub-elements in inspector
- Canvas or selected sub-pad can be enlarged when double-clicked outside frame (#116) Complete drawing will be expanded to the visible space. Not available for flex, tabs and collapsible layouts.
- Support reading of local ROOT files with HTML5 FileReader. Files can be selected only with interactive dialog.
- Combine "Ctrl" and "Shift" keys with mouse click on the items:
- with Shift key typically object inspector will be activated
- with Ctrl key alternative draw options will be used (like colz for TH2)
- Update libraries
- d3.js - 4.4.4
- three.js - 84
- jquery - 3.3.1
- jquery-ui - 1.12.1
- Support compressed array, produced with newest TBufferJSON
- $arr field identify such array and contains data type
- native arrays are used when decoding such array
- zero values are not stored
- many similar values stored as one with repetition factor
- position stored only when differ from produced with previous block
- array [3,3,3,3,3,3,1,2,2,2,2,2,2,2] compressed as {$arr:"Int",len:14,v:3,n:6,v1:1,v2:2,n2:7}
- Support new JSON format, produced with newest TBufferJSON
- object references stored as {"$ref":12}
- pair objects for std::map marked with "$pair" : "pair<type1,type2>" data member
- old JSON format will be recognized automatically and supported as well
- Fix - better selection of Y range for log scale
- Provide JSROOT.parse_multi function to correctly parse response of multi.json request, support it in the JSROOT.NewHttpRequest method as well.
- Fix - correctly calculate integral for TH1
- Partially support new TFormula with complex C code inside
- Many improvements in the I/O part
- support most of STL containers
- support TMap and TClonesArray containers
- all kind of multidimensional arrays
- correct treatment of foreign classes
- supports different versions of class in the same file
- support members like ClassName* fField; //[fCnt]
- support const char*
- support fixed-size array of TString, TObject and TNamed
- Many new draw options for different classes are supported:
- TGraph - 'z', 'x', '||', '[]', '>', '|>', '5', 'X+', 'Y+'
- TH1 - '*', 'L', 'LF2', 'B', 'B1', 'TEXT', 'E0', 'E3', 'E4', 'EX0', 'X+', 'Y+'
- TH2 - 'E', 'col1', 'box', 'box1', 'surf3', 'surf7', 'base0'
- TH2 - 'same' with 'box', 'col', 'cont', 'lego', 'surf'
- TH3 - 'scat', use by default
- TF1/TF2 - 'nosave' to ignore saved buffer
- TCanvas - logx/y/z, gridx/y, tickx/y
- THStack - 'lego' and other 3D draw options
- Implement drawing of TProfile2D, TF2, TGraph2D, TGraph2DErrors and TMarker
- Fix - correctly place TGAxis relative to frame (when exists)
- When superimpose items, one can specify individual options ...&item=histo1+histo2&opt=hist+e1 ...&item=[histo1,histo2]&opt=[hist,e1]
- Support loading of TStyle object, providing in URL ...&style=item_name or ...&style=json_file_name All values are copied directly to JSROOT.gStyle object.
- Add callback argument into JSROOT.draw() function. Function will be called after drawing of object is completed. Painter for drawn object will be provided as first argument (or null in case of error).
- Improve cleanup of JSROOT objects
- Workaround for MathJax output - scaling not always works in Firefox
- Fix - bin scaling for box draw option for TH2 and TH3 histograms
- Fix - increase points limits for contour plots
- Fix - position of 3D canvas in WebKit browsers
- Fix - use abs bin content in RMS calculations
- Fix - support char star* and object arrays in I/O
- Fix - correct decoding of TAxis time offset
- Fix - checksum reading for foreign classes
- Implement simple TTree::Draw over single leaf (#80) Support basic types, fixed-size arrays and several vector types
- Display of TEveTrack(s) and TEvePointSet(s) over drawn geometry (drag and drop) Also browsing, toggling, highlight of tracks and hits are done.
- Let set default geo colors as TGeoManager::DefaultColors() does
- Let use original ROOT macros to configure visibility of geometry volumes. Like: &file=files/alice2.root&item=Geometry;1&opt=macro:macros/geomAlice.C One can set default colors or colors/transparency for selected volumes. Also volume, selected for drawing in the macro, will be used in the JSROOT
- Support drawing of TH2Poly class with 'col' and 'lego' options
- Implement 'CONT', 'ARR' and 'SURF' draw options for TH2 class
- Support basic drawing of TPolyLine class
- Interactive axis zooming in 3D with mouse, very much like to 2D
- Zooming and tool buttons via keyboards
- Improvements in TGeo drawings
- support of large (~10M volumes) models, only most significant volumes are shown
- one could activate several clip planes (only with WebGL)
- interaction with object browser to change visibility flags or focus on selected volume
- support of floating browser for TGeo objects
- intensive use of HTML Worker to offload computation tasks and keep interactivity
- enable more details when changing camera position/zoom
- better and faster build of composite shapes
- Improvements in histograms 3D drawing
- all lego options: lego1..lego4, combined with 'fb', 'bb', '0' or 'z'
- support axis labels on lego plots
- support lego plots for TH1
- Improvements in all 3D graphics
- upgrade three.js to r79
- use of THREE.BufferGeometry for all components
- significant (up to factor 10) performance improvement
- Implement box and hbox draw options for TH1 class
- Implement drawing of axes ticks on opposite side (when fTickx/y specified)
- Preliminary support of candle plot (many options to be implemented)
- Update draw attributes (fill/line/position) when monitor objects
- Fix - position of TFrame in canvas/pad
- Fix - use histogram fMinimum/fMaximum when creating color palette
- Fix - correctly draw empty th2 bins when zmin<0 is specified
- Fix - limit th2 text output size
- Fix - use histogram fMinimum/fMaximum when drawing z axis in lego plot
- Fix - error in TGeoCtub shape creation
- Fix - error in pcon/pgon shapes when Rmin===0
- Fix - correctly handle ^2..^9 in TFormula equations
- Fix - support TMath::Gaus in TFormula
- Fix - correctly display ^2 and ^3 in SVG text output
- Fix - do not show tooltips for empty TProfile bins
- Fix - statbox toggling was not working on subpads
- Fix - positioning of 3D objects in Webkit browsers in complex layouts
- Fix - difference in TF1 between ROOT5/6 (#54)
- Zooming with mouse wheel
- Context menus for many different objects attributes are provided
- Context menu for every drawn object can be activated via toolbar button
- Support browsing of TTask and derived classes (#40)
- Apply user range for drawing TH1/TH2 histograms, also when superimposed (#44)
- Implement scaling factor like x10^3 on the vertical axes
- Provide shortcut buttons for each subpad
- Implement simple drawing for TBox, TWbox, TSliderBox classes
- Fix - toggling of statbox was not working in all situations
- Fix - for mouse rect zooming use only left mouse button
- Fix - correctly draw TH2 with lego option, when histogram has negative bin content
- Fix - log axis drawing with no visible ticks
- Fix - wrong selection of TH1 Y axis range when errors are displayed (#44)
- Fix - apply user range for TH1 X-axis zooming (#44)
- Fix - protect against pathological case of 1-bin histogram
- Fix - use error plot by default in TH1 only when positive sumw2 entry exists
- Fix - for TH2 box draw option draw at least 1px rect for non-empty bin
- Fix - support transparency (alpha) in TColor (#45)
- Fix - correct tooltip handling for graphs with lines and markers
- Fix - interactive zooming in TH2 when doing histogram update
- Fix - statistic collection for TH2
- Fix - correct handling of empty TList in browser/inspector
- Fix - support TFolder in browser/inspector (#40)
- Fix - colz palette resize when drawing histogram second time
- Fix - use embedded in TCanvas color for background color of canvas itself
- Fix - rotate too long X axis text labels
- Fix - draw histogram bins on frame boundary
- Fix - use alternative color for shapes with default black color
- Fix - correctly handle pcon/pgon shape with rmin==rmax on top or bottom side
- Fix faces orientation for all TGeo shapes.
- Improve TGeoTorus creation - handle all parameters combinations
- Implement TGeoCompositeShape, using ThreeCSG.js
- Fix problem with color palette when switch to 3D mode (#28)
- Use nested CSS classes to avoid conflicts with other libraries (#29)
- Let move and resize TFrame
- Improve TH1/TH2 drawings
- draw all histograms points in the range (no any skipped bins)
- minimize SVG code for drawing (up to factor 100)
- gives significant speedup in drawings
- SVG code improvement for TGraph, TF1, TAxis drawings
- Provide new tooltip kind
- created only when needed (minimizing SVG code)
- tooltip can be drawn for every object in the frame
- touch devices are supported
- Fix - let draw same object on the canvas with different options
- Create cached list of known class methods. It can be extended by users.
- Use of cached methods improves binary I/O performance by 20%
- Support TGaxis
- Project now can be obtained via 'bower install jsroot'
- Support 'scat' and 'text' draw options for TH2
- Support in binary I/O zipped buffer bigger than 16M
- Correctly handle in binary I/O pointer on TArray object (like in THnSparseArrayChunk)
- Implement TGeoCtub, TGeoParaboloid and TGeoHype shapes
- Support TGeoTube with Rmin==0
- Exclude empty faces in TGeoArb8
- Improve TGeoSphere creation - handle all parameters combinations
- Introduce JSROOT.cleanup() function to safely clear all drawn objects
- Fix wrong resize method in 'tabs' and 'collapsible' layouts
- Fix canvas resize problem (issue #27)
- Fix zero-height canvas when draw TGeo in collapsible layout
- Fix problem of simultaneous move TGeo drawings and canvas in flexible layout
- Significant performance improvements in 3D drawings - TGeo/TH2/TH3
- Implement TGeoPara, TGeoGtra, TGeoXtru and TGeoEltu shapes
- Optimize (reduce vertices number) for others TGeo shapes
- Correct rotation/translation/scaling of TGeo nodes
- Workaround for axis reflection (not directly supported in three.js)
- Support array of objects in I/O (like in TAxis3D)
- Correct reading of multi-dim arrays like Double_t fXY[8][2];
- Provide canvas toolbar for actions like savepng or unzoom
- Implement JSROOT.resize() function to let resize drawing after changes in page layout
- Fix error with title display/update
- Introduce object inspector - one could browse object members of any class
- Let draw sub-items from TCanvas list of primitives like sub-pad or TLatex
- Provide possibility to save drawn SVG canvas as PNG
- TGraph drawing optimization - limit number of drawn points
- Implement painter for TPolyMarker3D
- Improve drawing and update of TMultiGraph
- Reorganize 3D drawing of TH2/TH3 histograms, allow to mix 2D and 3D display together
- Support overlay of 3D graphic over SVG canvas (used for IE)
- Fix problems and improve flex(ible) layout
- New TGeo classes support:
- browsing through volumes hierarchy
- changing visibility flags
- drawing of selected volumes
- New 'flex' layout:
- create frames like in Multi Document Interface
- one could move/resize/minimize/maximize such frames
- Significant (factor 4) I/O performance improvement:
- use ArrayBuffer class in HTTP requests instead of String
- use native arrays (like Int32Array) for array data members
- highly optimize streamer infos handling
- TH2 drawing optimization:
- if there are too many non-empty bins, combine them together
- when zoom-in, all original bins will be displayed separately
- let draw big TH2 histogram faster than in 1 sec
- optimization can be disabled by providing '&optimize=0' in URL
- TF1 drawing optimization:
- function 'compiled' only once
- Reorganize scripts structure:
- move all math functions to JSRootMath.js
- TH2, TF1, THStack and TMultiGraph painters moved into JSRootPainter.more.js script
- reduce size of scripts required for default functionality
- Update all basic libraries:
- d3.js - v3.5.9,
- jquery.js - v2.1.4,
- jquery-ui.js - v1.11.4,
- three.js - r73
- Implement ROOT6-like color palettes:
- all palettes in range 51...112 are implemented
- by default palette 57 is used
- one could change default palette with '&palette=111' in URL
- or palette can be specified in draw option like '&opt=colz,pal77'
- Support non-equidistant bins for TH1/TH2 objects.
- Display entries count from histo.fEntries member, only when not set use computed value
- Support italic and bold text when used with MathJax
- Improve TF1 drawing - support exp function in TFormula, fix errors with logx scale, enable zoom-in, (re)calculate function points when zooming
- Support several columns in TLegend
- Introduce context menus for x/y axis, add some items similar to native ROOT menus
- Introduce context menu for TPaveStats, let switch single elements in the box
- Enable usage of all context menus on touch devices
- Implement JSROOT.Math.Prob function, provides probability value in stat box
- Introduce context menu for color palette (z axis)
- Implement col0 and col0z draw option for TH2 histograms, similar to ROOT6
- Let use HTML element pointer in JSROOT.draw function like: JSROOT.draw(document.getElementsByTagName("div")[0], obj, "hist"); Normally unique identifier was used before, which is not required any longer. Of course, old functionality with element identifier will work as well.
- TreePlayer can also be used for trees, which not yet read from the file. Requires appropriate changes in TRootSniffer class.
- Fix error in I/O with members like:
Double_t *fArr; //[fN]
- Introduce JSROOT.OpenFile function. It loads I/O functionality automatically, therefore can be used directly after loading JSRootCore.js script
- Same is done with JSROOT.draw function. It is defined in the JSRootCore.js and can be used directly. Makes usage of JSROOT easier
- Introduce JSRootPainter.more.js script, where painters for auxiliary classes will be implemented.
- Implement painter for TEllipse, TLine, TArrow classes
- Fix several problems with markers drawing; implement plus, asterisk, mult symbols.
- Implement custom layout, which allows to configure user-defined layout for displayed objects
- Fix errors with scaling of axis labels.
- Support also Y axis with custom labels like: http://jsroot.gsi.de/dev/?nobrowser&file=../files/atlas.root&item=LEDShapeHeightCorr_Gain0;1&opt=col
-
Support of X axis with custom labels like: http://jsroot.gsi.de/dev/?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.
- 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 HierarchyPainter 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.
- 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
- 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 in
nobrowser
mode. - Provide optional latex drawing with MathJax SVG.
TMathText always drawn with MathJax,
other classes require
mathjax
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
- 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
- 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
- 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
- Better font size and position in pave stats
- Resize/move of element only inside correspondent pad
- Adjust of frame size when Y-axis exceed pad limits
- Correct values in tooltip for THStack
- Exclude drawing of markers from TGraph outside visible range
- Drawing of canvas without TFrame object
- Many other small bug fixes and improvements, thanks to Maximilian Dietrich
- Add "shortcut icon"
- Add demo of online THttpServer - shell script copies data from running httpserver.C macro on Apache webserver
- Evaluate 'monitoring' parameter for online server like: http://localhost:8080/?monitoring=1000 Parameter defines how often displayed objects should be updated.
- Implement 'opt' and 'opts' URL parameters for main page.
- Show progress with scripts loading in the browser window
- When one appends "+" to the filename, its content read completely with first I/O operation.
- Implement JS custom streamer for TCanvas, restore aspect ratio when drawing
- Major redesign of drawing classes. Resize and update of TCanvas are implemented. All major draw functions working with HTML element id as first argument.
- Extract 3D drawings into separate JSRoot3DPainter.js script
- Use newest three.min.js (r68) for 3D drawings, solves problem with Firefox.
- Introduce generic list of draw functions for all supported classes.
- Add possibility to 'expand' normal objects in the hierarchy browser. For instance, this gives access to single elements of canvas, when whole canvas cannot be drawn.
- Correct usage of colors map, provided with TCanvas.
- Introduce JSROOT.redraw() function which is capable to create or update object drawing.
- In main index.htm page browser can be disabled (nobrowser parameter) and page can be used to display only specified items from the file
- Add support of TPolyMarker3D in binary I/O
- First try to handle resize of the browser, for the moment works only with collapsible layout
- Also first try to interactively move separation line between browser and drawing field.
- Small fix of minor ticks drawing on the axis
- Introduce display class for MDI drawing. Provide two implementations - 'collapsible' for old kind and 'tabs' for new kinds.
- Adjust size of color palette drawing when labels would take more place as provided.
- Add correct filling of statistic for TProfile, fix small problem with underflow/overflow bins.
- Provide way to select display kind ('collapsible', 'tabs') in the simple GUI.
- Implement 'grid' display, one could specify any number of division like 'grid 3x3' or 'grid 4x2'.
- MDI display object created at the moment when first draw is performed.
- Introduce painter class for TCanvas, support resize and update of canvas drawing
- Resize almost works for all layouts and all objects kinds.
- Implement JSROOT.GetUrlOption to extract options from document URL.
- Provide example fileitem.htm how read and display item from ROOT file.
- In default index.htm page one could specify 'file', 'layout', 'item' and 'items' parameters like: http://root.cern.ch/js/3.0/index.htm?file=../files/hsimple.root&layout=grid3x2&item=hpx;1
- Support direct reading of objects from sub-sub-directories.
- Introduce demo.htm, which demonstrates online usage of JSROOT.
- One could use demo.htm directly with THttpServer providing address like: http://localhost:8080/jsrootsys/demo/demo.htm?addr=../../Files/job1.root/hpx/root.json.gz&layout=3x3
- Also for online server process url options like 'item', 'items', 'layout'
- Possibility to generate URL, which reproduces opened page with layout and drawn items
- All communication between server and browser done with JSON format.
- Fix small error in dtree.js - one should always set last sibling (_ls) property while tree can be dynamically changed.
- In JSRootCore.js provide central function, which handles different kinds of XMLHttpRequest. Use only async requests, also when getting file header.
- Fully reorganize data management in file/tree/directory/collection hierarchical display. Now complete description collected in HPainter class and decoupled from visualization, performed with dTree.js.
- Remove all global variables from the code.
- Automatic scripts/style loading handled via JSROOT.loadScript() function. One can specify arbitrary scripts list, which asynchronously loaded by browser.
- Method to build simple GUI changed and more simplified :). The example in index.htm. While loadScript and AssertPrerequisites functions moved to JSROOT, one can easily build many different kinds of GUIs, reusing provided JSRootCore.js functions.
- In example.htm also use AssertPrerequisites to load necessary scripts. This helps to keep code up-to-date even by big changes in JavaScript code.
- Provide monitoring of online THttpServer with similar interface as for ROOT files.
- Fix several errors in TKey Streamer, use member names as in ROOT itself.
- Keep the only version identifier JSROOT.version for JS code
- One can specify in JSROOT.AssertPrerequisites functionality which is required. One could specify '2d', 'io' (default) or '3d'.
- Use new AssertPrerequisites functionality to load only required functionality.
- When displaying single element, one could specify draw options and monitor property like:
http://localhost:8080/Files/job1.root/hpxpy/draw.htm?opt=col&monitor=2000
Such link is best possibility to integrate display into different HTML pages,
using
<iframe/>
tag like:<iframe src="http://localhost:8080/Files/job1.root/hpx/draw.htm"
style="width: 800px; height:600px"></iframe>
- Remove 'JSROOTIO.' prefix from _typename. Now real class name is used.
- Use in all scripts JSROOT as central 'namespace'
- Introduce context menu in 3D, use it for switch between 2D/3D modes
- Use own code to generate hierarchical structure in HTML, replace dtree.js which is extremely slow for complex hierarchies. Dramatically improve performance for structures with large (~1000) number of items.
- Deliver to the server title of the objects, display it as hint in the browser.
- Better handling of special characters in the hierarchies - allows to display symbols like ' or " in the file structure.
- Migration to d3.v3.js and jQuery v2.1.1
- Fix errors in filling of histogram statbox
- Possibility of move and resize of statbox, title, color palete
- Remove many (not all) global variables
- Example with direct usage of JSRootIO graphics
- Example of inserting ROOT graphics from THttpServer into
<iframe></iframe>
- This JSRootIO code together with THttpServer class included in ROOT repository
- Introduce TBuffer class, which plays similar role as TBuffer in native ROOT I/O. Simplifies I/O logic, reduce duplication of code in many places, fix errors. Main advantage - one could try to keep code synchronous with C++.
- Avoid objects cloning when object referenced several times.
- Treat special cases (collection, arrays) in one place. This is major advantage, while any new classes need to be implemented only once.
- Object representation, produced by JSRootIO is similar to objects, produced by TBufferJSON class. By this one can exchange I/O engine and use same JavaSctript graphic for display.
- More clear functions to display different elements of the file. In the future functions should be fully separated from I/O part and organized in similar way as online part.
- Eliminate usage of gFile pointer in the I/O part.
- Provide TBufferJSON::JsonWriteMember method. It allows to stream any selected data member of the class. Supported are: basic data types, arrays of basic data types, TString, TArray classes. Also any object as data member can be streamed.
- TRootSniffer do not creates sublevels for base classes