(private) new RHistPainter(dom, histo)
Base painter class for RHist objects
- Source:
Parameters:
Name | Type | Description |
---|---|---|
dom |
object | string | DOM element for drawing or element id |
histo |
object | RHist object |
Methods
addInteractivity()
Add interactive features, only main painter does it
- Source:
(abstract) autoZoom()
Auto zoom into histogram non-empty range
- Source:
changeValuesRange()
Start dialog to modify range of axis where histogram values are displayed
- Source:
cleanup()
Cleanup hist painter
- Source:
clear3DScene()
Clear 3d drawings - if any
- Source:
clickButton()
Process click on histogram-defined buttons
- Source:
copyOptionsFrom()
Copy draw options from other painter
- Source:
copyOptionsToOthers()
copy draw options to all other histograms in the pad
- Source:
createContour()
Create contour levels for currently selected Z range
- Source:
createHistDrawAttributes()
create attributes
- Source:
decodeOptions()
Decode options
- Source:
(async) drawFrameAxes()
Draw axes
- Source:
(async) drawingBins() → {Promise}
Special method to request bins from server if existing data insufficient
- Source:
Returns:
when ready
- Type
- Promise
extractAxesProperties()
Extract axes ranges and bins numbers
- Description:
Also here ensured that all axes objects got their necessary methods
- Source:
fillContextMenuItems()
Fill histogram context menu
- Source:
fillPaletteMenu()
Fill menu entries for palette
- Source:
fillToolbar()
Fill pad toolbar with hist-related functions
- Source:
get3DToolTip()
get tool tips used in 3d mode
- Source:
getAxis()
Get axis object
- Source:
getAxisBinTip()
Get tip text for axis bin
- Source:
(private) getBinErrors()
Return histo bin errors
- Source:
getDimension()
Returns histogram dimension
- Source:
getHisto()
get histogram
- Source:
getSelectIndex()
get selected index for axis
- Source:
isDisplayItem()
Returns true if RHistDisplayItem is used
- Source:
prepareDraw()
Calculate histogram indices and axes values for each visible bin
- Source:
processItemReply()
Process item reply
- Source:
(abstract) scanContent()
Scan histogram content
- Source:
toggleMode3D()
Toggle 3D drawing mode
- Source:
toggleStat()
Toggle statistic box drawing
- Description:
Not yet implemented
- Source:
updateDisplayItem()
update display item
- Source:
updateObject()
update histogram object
- Source:
updatePaletteDraw()
Update palette drawing
- Source: