Bertrand Bellenot [Thu, 22 Aug 2013 13:24:14 +0000 (15:24 +0200)]
Use the displayListOfKeys() function from JSRootInterface.js
Using the displayListOfKeys() function from JSRootInterface.js allows the user to implement his own function to display (or not) the list of keys
Bertrand Bellenot [Thu, 11 Jul 2013 10:46:11 +0000 (12:46 +0200)]
Use proper isNaN() function, and add sanity check when evaluating TF1
Bertrand Bellenot [Wed, 3 Jul 2013 19:23:48 +0000 (21:23 +0200)]
Several changes needed by Sergey Linev + increment version numbers
Bertrand Bellenot [Tue, 2 Jul 2013 14:16:50 +0000 (16:16 +0200)]
From Sergey Linev:
- remove tgtsize argument of R__unzip - result string will be allocated anyway
- check if header size exceed the buffer length in R__unzip_header
- move R__unzip_header and R__unzip from JSROOTIO.RootFile to JSROOTIO
Bertrand Bellenot [Thu, 30 May 2013 09:31:34 +0000 (11:31 +0200)]
add a simple (one line) example of how to automatically display the first object in a file
bellenot [Fri, 3 May 2013 09:43:50 +0000 (11:43 +0200)]
Format tooltips
bellenot [Tue, 30 Apr 2013 15:19:40 +0000 (17:19 +0200)]
fix wrong y axis coordinates
bellenot [Tue, 30 Apr 2013 14:51:33 +0000 (16:51 +0200)]
use d3 ticks() function to compute & optimize ticks and labels for 3D histograms (TH2 and TH3) axes
Fons Rademakers [Tue, 30 Apr 2013 01:36:38 +0000 (03:36 +0200)]
Update more $Id$ ident tokens.
Fons Rademakers [Tue, 30 Apr 2013 01:19:11 +0000 (03:19 +0200)]
change line endings to LF.
bellenot [Mon, 29 Apr 2013 12:22:26 +0000 (14:22 +0200)]
Increase version number
bellenot [Mon, 29 Apr 2013 12:19:58 +0000 (14:19 +0200)]
Improve Z axis scaling for TH2 LEGO plots + remove unused code
Bertrand Bellenot [Fri, 19 Apr 2013 12:34:51 +0000 (12:34 +0000)]
- Add icons for several types of objects (canvas, histo, graph, ...)
- Adjust bin size (was fixed size) for TH2 drawn in 3D (lego)
git-svn-id: http://root.cern.ch/svn/root/trunk@49277
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Thu, 18 Apr 2013 12:24:38 +0000 (12:24 +0000)]
- Fix (center) the position of boxes in TH2 when drawn in 2D mode
- Improve tooltip information for TH1, TH2 and TH3
git-svn-id: http://root.cern.ch/svn/root/trunk@49262
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Thu, 18 Apr 2013 09:32:58 +0000 (09:32 +0000)]
Add tooltips
git-svn-id: http://root.cern.ch/svn/root/trunk@49261
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Thu, 18 Apr 2013 08:44:24 +0000 (08:44 +0000)]
Fix floating point precision issues (values having 1e-308 instead of 0.0)
git-svn-id: http://root.cern.ch/svn/root/trunk@49260
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Tue, 16 Apr 2013 10:44:16 +0000 (10:44 +0000)]
- Add contribution from Chun-Wei SHEN (waynesan@twgrid.org) for 3D wireframe display of TH3 and TH2 (lego plot) using the three.js library
- Added box geometry and material, bin color, lighting, shading, picking, and automatic detection of WebGL capability of the browser for optimized rendering
- Added feedback for 2D and 3D histograms (highlighting and tooltips)
- Added a root file containing a TH3 (as 3D TH3 demo)
Note: It is highly recommended to use a WebGL enabled browser to manipulate 3D objects. And in particular Google Chrome, which is by far the fastest one (for the time being)
When WebGL is not available, the fallback solution uses canvas (e.g. with IE, or on iOS) which is good enough to display 3D objects, but too slow to manipulate them
git-svn-id: http://root.cern.ch/svn/root/trunk@49247
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Fri, 22 Mar 2013 15:06:59 +0000 (15:06 +0000)]
Add TH3 specific methods (getBin, getBinContent, getStats)
git-svn-id: http://root.cern.ch/svn/root/trunk@48918
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Fri, 22 Mar 2013 09:03:05 +0000 (09:03 +0000)]
Add JavaScript files required for 3D rendering (e.g. TH2 with "lego" option and TH3)
git-svn-id: http://root.cern.ch/svn/root/trunk@48914
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Fri, 22 Mar 2013 08:35:41 +0000 (08:35 +0000)]
- Partial implementation of collection reading (e.g. TList) - to be completed
- Display functions (TF1) together with histograms when there is any in its list of functions
- Partial implementation of scatter drawing option for TH2 (covering special case where there is only one entry per bin)
- Decode and display Latex characters in titles
git-svn-id: http://root.cern.ch/svn/root/trunk@48912
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Wed, 19 Dec 2012 16:44:34 +0000 (16:44 +0000)]
Only compute the bin width with the "bar" drawing option of TGraph, to avoid an error when trying to access possibly non-existing fHistogram
git-svn-id: http://root.cern.ch/svn/root/trunk@48136
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Tue, 18 Dec 2012 09:45:58 +0000 (09:45 +0000)]
Typo
git-svn-id: http://root.cern.ch/svn/root/trunk@48088
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Tue, 18 Dec 2012 09:01:18 +0000 (09:01 +0000)]
- Implement drawing of TGraphAsymmError, RooHist, and RooCurve (with TGraph "BAR" drawing option)
- Remove a couple of unused variables
- Add a roofit example file (rf107_plotstyles)
git-svn-id: http://root.cern.ch/svn/root/trunk@48087
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Thu, 13 Dec 2012 15:43:44 +0000 (15:43 +0000)]
Create the fHistogram member if it doesn't exist in the THStack being drawn (like in the original THStack::Paint() c++ code)
git-svn-id: http://root.cern.ch/svn/root/trunk@48014
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Thu, 13 Dec 2012 13:35:22 +0000 (13:35 +0000)]
Add exclusion graphs example root file
git-svn-id: http://root.cern.ch/svn/root/trunk@48011
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Thu, 13 Dec 2012 13:25:39 +0000 (13:25 +0000)]
Correct copy/paste typo
git-svn-id: http://root.cern.ch/svn/root/trunk@48009
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Thu, 13 Dec 2012 13:22:15 +0000 (13:22 +0000)]
Remove old f.root (one bin histogram used fo test the very first I/O - thanks to Axel), and add two root files showing THStack and TLegend drawing
git-svn-id: http://root.cern.ch/svn/root/trunk@48008
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Thu, 13 Dec 2012 10:11:07 +0000 (10:11 +0000)]
Better (and almost complete) implementation of THstack drawing function
git-svn-id: http://root.cern.ch/svn/root/trunk@48006
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Thu, 13 Dec 2012 08:41:56 +0000 (08:41 +0000)]
- Add (many) functions needed to draw THStack
- Use 'this' in obj functions instead of 'obj' (to make sure the proper instance of the object is used/modified)
- Use jQuery to properly copy (clone) objects. With the previous method, modifying a cloned object was modifying the original object as well
- Use simple "if ('member' in obj)" test format instead of "if (obj['member'] && typeof(obj['member'] != 'undefined')"
git-svn-id: http://root.cern.ch/svn/root/trunk@47995
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Thu, 13 Dec 2012 08:40:59 +0000 (08:40 +0000)]
Use simple "if ('member' in obj)" test format instead of "if (obj['member'] && typeof(obj['member'] != 'undefined')"
git-svn-id: http://root.cern.ch/svn/root/trunk@47994
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Tue, 11 Dec 2012 16:46:36 +0000 (16:46 +0000)]
Use the THStack drawing options to draw each histogram
git-svn-id: http://root.cern.ch/svn/root/trunk@47978
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Tue, 11 Dec 2012 16:32:46 +0000 (16:32 +0000)]
Better way of drawing THStack (still to be revisited)
git-svn-id: http://root.cern.ch/svn/root/trunk@47977
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Wed, 5 Dec 2012 10:13:48 +0000 (10:13 +0000)]
Make sure the class name returned by ReadClass is valid
git-svn-id: http://root.cern.ch/svn/root/trunk@47846
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Tue, 4 Dec 2012 16:58:25 +0000 (16:58 +0000)]
Check for (and use if any) mapped object also in JSROOTIO.TStreamer.ReadBasicType
git-svn-id: http://root.cern.ch/svn/root/trunk@47827
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Tue, 4 Dec 2012 08:08:02 +0000 (08:08 +0000)]
Better handling of unnamed histograms/graphs/functions
git-svn-id: http://root.cern.ch/svn/root/trunk@47805
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Mon, 3 Dec 2012 14:23:59 +0000 (14:23 +0000)]
- Add special formatting for the case histograms have no name (yes, this may happen...)
- Use Math.abs() to check if min and max are (about) equal to zero (floating point precision with JS)
git-svn-id: http://root.cern.ch/svn/root/trunk@47786
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Thu, 29 Nov 2012 15:06:46 +0000 (15:06 +0000)]
Cosmetics + coding conventions
git-svn-id: http://root.cern.ch/svn/root/trunk@47711
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Thu, 29 Nov 2012 14:40:45 +0000 (14:40 +0000)]
Better implementation of displayTree, using a recursive function (displayBranches) do properly display the tree structure
git-svn-id: http://root.cern.ch/svn/root/trunk@47707
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Wed, 28 Nov 2012 21:18:33 +0000 (21:18 +0000)]
Update versions of latest changed code
git-svn-id: http://root.cern.ch/svn/root/trunk@47692
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Wed, 28 Nov 2012 16:42:22 +0000 (16:42 +0000)]
Add TTree (and TNtuple) reading and displaying functions (not complete yet) and related pngs
git-svn-id: http://root.cern.ch/svn/root/trunk@47675
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Wed, 28 Nov 2012 10:34:07 +0000 (10:34 +0000)]
Skip empty objects (allowing now to read the ntuple from hsimple.root)
git-svn-id: http://root.cern.ch/svn/root/trunk@47663
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Tue, 27 Nov 2012 14:13:35 +0000 (14:13 +0000)]
Add a naive (and wrong) implementation of THStack drawing (the real drawing implementation requires an almost complete implementation of TH1/TH2...)
git-svn-id: http://root.cern.ch/svn/root/trunk@47648
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Tue, 27 Nov 2012 14:11:31 +0000 (14:11 +0000)]
Add several missing properties (will be used by THStack)
git-svn-id: http://root.cern.ch/svn/root/trunk@47647
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Mon, 26 Nov 2012 15:13:34 +0000 (15:13 +0000)]
Properly use the class name returned by ReadClass, to use the real class name, instead of the base class (e.g. TH1F instead of TH1)
git-svn-id: http://root.cern.ch/svn/root/trunk@47631
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Fri, 23 Nov 2012 14:54:17 +0000 (14:54 +0000)]
Properly implement the decoding of draw options, like in THistPainter
git-svn-id: http://root.cern.ch/svn/root/trunk@47606
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Wed, 21 Nov 2012 16:31:13 +0000 (16:31 +0000)]
Add a few constants
git-svn-id: http://root.cern.ch/svn/root/trunk@47539
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Wed, 21 Nov 2012 11:36:47 +0000 (11:36 +0000)]
Add a correction for properly drawing histograms with option 'same'
git-svn-id: http://root.cern.ch/svn/root/trunk@47527
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Tue, 20 Nov 2012 12:58:17 +0000 (12:58 +0000)]
Fix line style used for the grid
git-svn-id: http://root.cern.ch/svn/root/trunk@47472
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Tue, 20 Nov 2012 10:16:56 +0000 (10:16 +0000)]
Clean-up arrays after use
git-svn-id: http://root.cern.ch/svn/root/trunk@47471
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Mon, 19 Nov 2012 20:11:58 +0000 (20:11 +0000)]
Improve implementation of the exclusion graphs (thanks to Olivier for the tip about the "real NDC"). Still not perfect, but much better.
git-svn-id: http://root.cern.ch/svn/root/trunk@47458
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Mon, 19 Nov 2012 14:01:09 +0000 (14:01 +0000)]
Create one 'svg:defs' entry per style and color, instead of per style only
git-svn-id: http://root.cern.ch/svn/root/trunk@47446
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Mon, 19 Nov 2012 09:19:26 +0000 (09:19 +0000)]
Add a few comments
git-svn-id: http://root.cern.ch/svn/root/trunk@47427
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Fri, 16 Nov 2012 14:45:55 +0000 (14:45 +0000)]
- Implement exclusion graph (not perfect yet)
git-svn-id: http://root.cern.ch/svn/root/trunk@47347
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Wed, 14 Nov 2012 17:09:13 +0000 (17:09 +0000)]
- keep the right scrollbar for the time being (to avoid resizing & overlapping when it shows)
- Add a few missing legend entries assignments
git-svn-id: http://root.cern.ch/svn/root/trunk@47279
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Wed, 14 Nov 2012 14:54:32 +0000 (14:54 +0000)]
- add a right margin value to avoid the vertical scrollbar overlapping the canvas
- improve (re)drawing speed
git-svn-id: http://root.cern.ch/svn/root/trunk@47266
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Tue, 13 Nov 2012 17:56:26 +0000 (17:56 +0000)]
Fine tuning of the text/marker position when the legend has only one line
git-svn-id: http://root.cern.ch/svn/root/trunk@47231
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Tue, 13 Nov 2012 16:38:51 +0000 (16:38 +0000)]
Add a protection to not redraw objects in a deleted container
git-svn-id: http://root.cern.ch/svn/root/trunk@47227
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Tue, 13 Nov 2012 15:40:15 +0000 (15:40 +0000)]
Let the system compute the size of the close button, otherwise it looks really ugly on iOS ("think different" again...)
git-svn-id: http://root.cern.ch/svn/root/trunk@47224
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Tue, 13 Nov 2012 15:00:20 +0000 (15:00 +0000)]
Remove useless statement (making the overlay element almost invisible on IE)
git-svn-id: http://root.cern.ch/svn/root/trunk@47223
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Tue, 13 Nov 2012 14:54:07 +0000 (14:54 +0000)]
Add a "close" button (a small cross) on the top right corner of each element.
git-svn-id: http://root.cern.ch/svn/root/trunk@47221
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Mon, 12 Nov 2012 13:21:54 +0000 (13:21 +0000)]
Filter out more special characters when formatting SVG id
git-svn-id: http://root.cern.ch/svn/root/trunk@47189
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Sat, 10 Nov 2012 21:09:22 +0000 (21:09 +0000)]
Cosmetics
git-svn-id: http://root.cern.ch/svn/root/trunk@47162
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Sat, 10 Nov 2012 17:45:36 +0000 (17:45 +0000)]
Small correction for the ticks on the y axis
git-svn-id: http://root.cern.ch/svn/root/trunk@47159
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Sat, 10 Nov 2012 16:14:11 +0000 (16:14 +0000)]
Add the small overlay (showing the version of JSROOTIO) also in case of full web page (will be displayed only when opening a file in case of delayed loading...)
git-svn-id: http://root.cern.ch/svn/root/trunk@47156
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Sat, 10 Nov 2012 16:00:18 +0000 (16:00 +0000)]
- Re-order loading of JavaScript libraries
- Move the addClass(ui-accordion) at the the correct location
git-svn-id: http://root.cern.ch/svn/root/trunk@47155
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Sat, 10 Nov 2012 14:14:37 +0000 (14:14 +0000)]
- Add a small overlay on the bottom left corner showing the version of JSROOTIO (thanks Axel for the suggestion) and remove the old ones (showing only when loading a file)
- Update a couple of versions (forgot to increase them...)
- Allow to use user defined functions to stream and display cusom classes (e.g. containers with graphic objects). Thanks to Barthelemy Von Haller for the test case
git-svn-id: http://root.cern.ch/svn/root/trunk@47147
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Fri, 9 Nov 2012 15:00:03 +0000 (15:00 +0000)]
- Add the TestBit() method to every class having fBits data member
- Use the saved TF1 points (if any) instead of trying to interpret potentially missing (e.g user defined) math function. Thanks to Rene for mentioning this option!
- Use the right streaming method for one particular type of array. Thanks to Barthelemy Von Haller for the test case
git-svn-id: http://root.cern.ch/svn/root/trunk@47140
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Tue, 6 Nov 2012 16:24:02 +0000 (16:24 +0000)]
- Add an error message when a file is not found (could have saved me some time...)
- Fix scales when superimposing histos & functions with the kAxisRange bit being set
- Add JSROOTPainter.drawLatex method, but without using it, as it works only on FireFox...
- Update versions of jquery and jqueryui to the latest ones
git-svn-id: http://root.cern.ch/svn/root/trunk@47066
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Fri, 2 Nov 2012 14:54:26 +0000 (14:54 +0000)]
Code clean-up
git-svn-id: http://root.cern.ch/svn/root/trunk@47004
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Wed, 31 Oct 2012 09:40:28 +0000 (09:40 +0000)]
Set the correct id of the default pattern
git-svn-id: http://root.cern.ch/svn/root/trunk@46921
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Tue, 30 Oct 2012 16:07:22 +0000 (16:07 +0000)]
Fix a y scaling error when superimposing histograms
git-svn-id: http://root.cern.ch/svn/root/trunk@46909
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Tue, 30 Oct 2012 15:47:55 +0000 (15:47 +0000)]
Implement pattern filling (only a few of the patterns are defined, still some work to make them all...)
git-svn-id: http://root.cern.ch/svn/root/trunk@46907
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Mon, 29 Oct 2012 13:23:07 +0000 (13:23 +0000)]
Implement the "f" legend option (fill pattern in a box)
git-svn-id: http://root.cern.ch/svn/root/trunk@46871
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Fri, 26 Oct 2012 15:16:44 +0000 (15:16 +0000)]
Use safer method for replacing some math functions
git-svn-id: http://root.cern.ch/svn/root/trunk@46836
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Fri, 26 Oct 2012 14:57:11 +0000 (14:57 +0000)]
Draw the markers after the errors bars (to place them on top)
git-svn-id: http://root.cern.ch/svn/root/trunk@46835
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Fri, 26 Oct 2012 14:53:52 +0000 (14:53 +0000)]
Replace a couple of TMath function calls
git-svn-id: http://root.cern.ch/svn/root/trunk@46834
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Fri, 26 Oct 2012 12:35:16 +0000 (12:35 +0000)]
Re-introduce a couple of lines (commented out for debugging purpose)
git-svn-id: http://root.cern.ch/svn/root/trunk@46825
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Fri, 26 Oct 2012 12:23:23 +0000 (12:23 +0000)]
- Properly register objects in object map
- set the parameters of legend entries using the parameters of the object they point to (from the object map)
git-svn-id: http://root.cern.ch/svn/root/trunk@46824
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Fri, 26 Oct 2012 07:50:43 +0000 (07:50 +0000)]
Add error drawing in TGraphErrors (still to be improved by merging error drawing of TH1, TProfile and TGraphErrors)
git-svn-id: http://root.cern.ch/svn/root/trunk@46818
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Thu, 25 Oct 2012 14:26:02 +0000 (14:26 +0000)]
Fix marker sizes
git-svn-id: http://root.cern.ch/svn/root/trunk@46812
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Thu, 25 Oct 2012 12:59:15 +0000 (12:59 +0000)]
Implement the "p" (polymarker) option when drawing TLegend. ++cosmetics
git-svn-id: http://root.cern.ch/svn/root/trunk@46805
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Thu, 25 Oct 2012 09:58:03 +0000 (09:58 +0000)]
Implement TMultigraph drawing in case there is no histogram as container, and make changes to draw TGraphErrors (not complete yet)
git-svn-id: http://root.cern.ch/svn/root/trunk@46797
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Thu, 25 Oct 2012 09:55:23 +0000 (09:55 +0000)]
Add computeRange method for TGraph objects
git-svn-id: http://root.cern.ch/svn/root/trunk@46796
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Wed, 24 Oct 2012 12:57:48 +0000 (12:57 +0000)]
- Fix tick labels precision on Chrome
git-svn-id: http://root.cern.ch/svn/root/trunk@46770
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Wed, 24 Oct 2012 12:52:22 +0000 (12:52 +0000)]
- Move the "overflow not hidden in IE9" fix from css to js, to make sure it is set if the user changes the css file
- Implement mouse (touch) rectangle zoom on iOS (to be tested on Android)
git-svn-id: http://root.cern.ch/svn/root/trunk@46767
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Tue, 23 Oct 2012 13:24:01 +0000 (13:24 +0000)]
- Automatically scroll to the displayed object's position
git-svn-id: http://root.cern.ch/svn/root/trunk@46743
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Tue, 23 Oct 2012 07:50:27 +0000 (07:50 +0000)]
Fix an issue with mouse selection in Chrome. Some text (e.g. axis labels) was randomly selected in the svg while dragging the selection rectangle
git-svn-id: http://root.cern.ch/svn/root/trunk@46732
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Mon, 22 Oct 2012 14:11:40 +0000 (14:11 +0000)]
Use more appropriate hash line styles (closer to the ROOT ones)
git-svn-id: http://root.cern.ch/svn/root/trunk@46717
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Mon, 22 Oct 2012 13:59:31 +0000 (13:59 +0000)]
- rename a global variable to avoid potential name clash
- remove a couple of unused variables
git-svn-id: http://root.cern.ch/svn/root/trunk@46715
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Mon, 22 Oct 2012 13:28:02 +0000 (13:28 +0000)]
Simplify code (avoid useless intermediate variable)
git-svn-id: http://root.cern.ch/svn/root/trunk@46714
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Mon, 22 Oct 2012 13:22:39 +0000 (13:22 +0000)]
Fix a precision issue on Chrome and FF browsers
git-svn-id: http://root.cern.ch/svn/root/trunk@46713
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Mon, 22 Oct 2012 10:04:32 +0000 (10:04 +0000)]
Add an example of foreign object in svg, but commented out since it doesn't work on IE and not properly in FF (but works fine on Chrome)
git-svn-id: http://root.cern.ch/svn/root/trunk@46707
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Mon, 22 Oct 2012 10:02:08 +0000 (10:02 +0000)]
Correct svg overflow not hidden in IE9
git-svn-id: http://root.cern.ch/svn/root/trunk@46706
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Thu, 18 Oct 2012 14:38:39 +0000 (14:38 +0000)]
Change typos in comments
git-svn-id: http://root.cern.ch/svn/root/trunk@46644
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Wed, 17 Oct 2012 09:26:12 +0000 (09:26 +0000)]
cosmetics (formatting tooltips)
git-svn-id: http://root.cern.ch/svn/root/trunk@46597
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Wed, 17 Oct 2012 09:04:02 +0000 (09:04 +0000)]
- Add JSRootCore.js, containing several core and math functions
- Add a new interface to the D3.js library
- Add a new example file (from the zdemo tutorial)
git-svn-id: http://root.cern.ch/svn/root/trunk@46595
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Fri, 27 Jul 2012 08:39:18 +0000 (08:39 +0000)]
Pass the current pad (if any) as parameter, for rendering any potential TPaveText, and for accessing the drawing option stored in the pad itself
git-svn-id: http://root.cern.ch/svn/root/trunk@45247
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Wed, 25 Jul 2012 13:43:28 +0000 (13:43 +0000)]
Typo
git-svn-id: http://root.cern.ch/svn/root/trunk@45209
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Wed, 25 Jul 2012 13:41:35 +0000 (13:41 +0000)]
Typo
git-svn-id: http://root.cern.ch/svn/root/trunk@45208
27541ba8-7e3a-0410-8455-
c3a389f83636
Bertrand Bellenot [Wed, 25 Jul 2012 09:26:37 +0000 (09:26 +0000)]
Properly skip the underflow and overflow bins when displaying TH1 + cosmetics
git-svn-id: http://root.cern.ch/svn/root/trunk@45199
27541ba8-7e3a-0410-8455-
c3a389f83636