(private) new RH1Painter(dom, histo)
Painter for RH1 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 appropriate draw function
- Source:
canZoomInside()
Checks if it makes sense to zoom inside specified axis range
- Source:
countStat()
Count statistic
- Source:
(async) draw1DBins()
Draw 1D histogram as SVG
- Source:
(async) draw2D()
Draw in 2d
- Source:
draw3D()
Draw 1-D histogram in 3D mode
- Source:
(async) draw3D()
Draw in 3d
- Source:
(async) drawBars()
Draw histogram as bars
- Source:
(async) drawFilledErrors()
Draw histogram as filled errors
- Source:
(async) drawHistBins()
Draw histogram bins
- Source:
fillHistContextMenu()
Fill histogram context menu
- Source:
fillStatistic()
Fill statistic
- Source:
(private) getBarBaseline()
Get baseline for bar drawings
- Source:
getBinTooltips()
Provide text information (tooltips) for histogram bin
- Source:
processTooltipEvent()
Process tooltip event
- Source:
(async) redraw()
Redraw histogram
- Source:
scanContent()
Scan content
- Source:
(async, static) draw()
draw RH1 object
- Source:
(async, static) draw()
draw RH1 object
- Source: