(private) new RH2Painter(dom, histo)
Painter for RH2 classes
- Source:
Parameters:
Name | Type | Description |
---|---|---|
dom |
object | string | DOM element or id |
histo |
object | histogram object |
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:
countStat()
Count statistic
- Source:
createPolyBin()
Create poly bin
- Source:
(async) draw2D() → {Promise}
Performs 2D drawing of histogram
- Source:
Returns:
when ready
- Type
- Promise
(async) draw2DBins()
Draw RH2 bins in 2D mode
- Source:
(async) draw3D() → {Promise}
Performs 3D drawing of histogram
- Source:
Returns:
when ready
- Type
- Promise
draw3DBins()
Draw histogram bins in 3D, using provided draw options
.- Description:
Draw histogram bins in 3D, using provided draw options
- Source:
drawBinsArrow()
Draw RH2 bins as arrows
- Source:
drawBinsBox()
Draw RH2 bins as boxes
- Source:
drawBinsColor()
Draw histogram bins as color
- Source:
drawBinsContour()
Draw histogram bins as contour
- Source:
drawBinsScatter()
Draw RH2 bins as scatter plot
- Source:
(async) drawBinsText()
Draw RH2 bins as text
- Source:
executeMenuCommand()
Execute menu command
- Source:
fillHistContextMenu()
Fill histogram context menu
- Source:
fillStatistic()
Fill statistic into statistic box
- Source:
fillToolbar()
Fill pad toolbar with RH2-related functions
- Source:
getBinTooltips()
Provide text information (tooltips) for histogram bin
- Source:
getDimension()
Returns histogram dimension
- Source:
getPolyBinTooltips()
Provide text information (tooltips) for poly bin
- Source:
processTooltipEvent()
Process tooltip event
- Source:
(async) redraw()
Redraw histogram
- Source:
redrawProjection()
Redraw projections
- Source:
scanContent()
Scan content of 2-dim histogram
- Source:
toggleColor()
Toggle color drawing mode
- Source:
toggleProjection()
Toggle projection
- Source:
(async, private, static) _draw()
Draw histogram using painter instance
- Source:
(async, static) draw()
draw RH2 object
- Source:
(async, static) draw()
draw RH2 object
- Source: