Methods
autoZoom()
Perform automatic zoom inside non-zero region of histogram
- Source:
(async) callDrawFunc()
Call drawing function depending from 3D mode
- Source:
canZoomInside()
Checks if it makes sense to zoom inside specified axis range
- Source:
cleanup()
cleanup painter
- Source:
clickButton()
Process click on histogram-defined buttons
- Source:
completePalette()
Complete palette drawing
- Source:
countStat()
Count TH2 histogram statistic
- Description:
Optionally one could provide condition function to select special range
- Source:
createPolyBin()
Create path for complete TH2PolyBin
- Source:
createPolyGr()
Create single graph path from TH2PolyBin
- Source:
(async) draw2D() → {Promise}
Performs 2D drawing of histogram
- Source:
Returns:
when ready
- Type
- Promise
draw2DBins()
Draw TH2 bins in 2D mode
- Source:
(async) draw3D()
draw TH2 object in 3D mode
- Source:
(async) draw3D() → {Promise}
Should performs 3D drawing of histogram
- Description:
Disabled in 2D case. just draw default draw options
- Source:
Returns:
when ready
- Type
- Promise
drawBinsArrow()
Draw TH2 bins as arrows
- Source:
drawBinsBox()
Draw TH2 bins as boxes
- Source:
drawBinsCandle()
Draw histogram bins as candle plot
- Source:
(async) drawBinsChord()
Draw histogram bins as chord diagram
- Source:
(async) drawBinsCircular()
Draw TH2 in circular mode
- Source:
drawBinsColor()
Draw TH2 bins as colors
- Source:
drawBinsContour()
Draw histogram bins as contour
- Source:
drawBinsPolar()
Draw TH2 bins as colors in polar coordinates
- Source:
drawBinsProjected()
Draw histogram bins with projection function
- Source:
drawBinsScatter()
Draw TH2 bins as scatter plot
- Source:
(async) drawBinsText()
Draw TH2 bins as text
- Source:
(async) drawPolyBins()
draw TH2Poly bins
- Source:
executeMenuCommand()
Execute TH2 menu command
- Description:
Used to catch standard menu items and provide local implementation
- Source:
fillHistContextMenu()
Fill histogram context menu
- Source:
fillStatistic()
Fill TH2 statistic in stat box
- Source:
fillToolbar()
Fill pad toolbar with histogram-related functions
- Source:
getBinTooltips()
Provide text information (tooltips) for histogram bin
- Source:
getCandleTooltips()
Provide text information (tooltips) for candle bin
- Source:
getHisto()
Returns histogram
- Description:
Also assigns custom getBinContent method for TProfile2D if PROJXY options specified
- Source:
getPolyBinTooltips()
Provide text information (tooltips) for poly bin
- Source:
processTooltipEvent()
Process tooltip event
- Source:
(async) redraw()
Redraw histogram
- Source:
(async) redrawProjection()
Redraw projection
- Source:
scanContent()
Scan TH2 histogram content
- Source:
toggleColor()
Toggle color drawing mode
- Source:
toggleProjection()
Toggle projection
- Source:
(async, static) draw()
draw TH2 object
- Source:
(async, static) draw()
draw TH2 object in 2D only
- Source: