(private) new THStackPainter(dom, stack, optopt)
Painter class for THStack
- Source:
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
dom |
object | string | DOM element for drawing or element id |
|
stack |
object | THStack object |
|
opt |
string |
<optional> |
draw options |
Methods
(private) accessMM()
Access or modify histogram min/max
- Source:
buildStack()
Build sum of all histograms
- Description:
Build a separate list fStack containing the running sum of all histograms
- Source:
cleanup()
Cleanup THStack painter
- Source:
createHistogram()
Create main histogram for THStack axis drawing
- Source:
decodeOptions()
Decode draw options of THStack painter
- Source:
drawHist()
Invoke histogram drawing
- Source:
drawHist()
Invoke histogram drawing
- Source:
(async) drawNextHisto()
Draw next stack histogram
- Source:
fillContextMenuItems()
Fill THStack context menu
- Source:
getHistDrawOption()
Provide draw options for the histogram
- Source:
getMinMax()
Returns stack min/max values
- Source:
redraw()
Redraw THStack
- Description:
Do something if previous update had changed number of histograms
- Source:
(async) redrawWith()
Full stack redraw with specified draw option
- Source:
updateObject()
Update THStack object
- Source:
(async, static) draw()
draw THStack object
- Source:
(async, static) draw()
draw THStack object in 2D only
- Source: