(private) new TPavePainter(dom, pave)
painter for TPave-derived classes
- Source:
Parameters:
Name | Type | Description |
---|---|---|
dom |
object | string | DOM element for drawing or element id |
pave |
object | TPave-based object |
Methods
addText()
Add text to pave
- Source:
(async) autoPlaceLegend() → {Promise}
Auto place legend on the frame
- Source:
Returns:
with boolean flag if position was changed
- Type
- Promise
cleanup()
cleanup pave painter
- Source:
clearPave()
Clear text in the pave
- Source:
drawLegend()
Draw TLegend object
- Source:
drawPaletteAxis()
draw color palette with axis
- Source:
(async) drawPave() → {Promise}
Draw pave and content
- Source:
Returns:
- Type
- Promise
(async) drawPaveLabel()
draw TPaveLabel object
- Source:
drawPaveStats()
draw TPaveStats object
- Source:
(async) drawPaveText()
draw TPaveText object
- Source:
fillContextMenuItems()
Fill context menu items for the TPave object
- Source:
fillFunctionStat()
Fill function parameters
- Source:
fillWebObjectOptions()
Fill option object used in TWebCanvas
- Source:
format()
Method used to convert value to string according specified format
- Description:
format can be like 5.4g or 4.2e or 6.4f or 'stat' or 'fit' or 'entries'
- Source:
(private) getBestFormat()
Remade version of THistPainter::GetBestFormat
- Source:
getPaveDrawOption()
Get draw option for the pave
- Description:
only stats using fOption directly, all other classes - stored in the pad
- Source:
interactivePaletteAxis()
Add interactive methods for palette drawing
- Source:
isDummyPos()
Is dummy pos of the pave painter
- Source:
isPalette()
Returns true when stat box is drawn
- Source:
isPaveText()
Returns true when stat box is drawn
- Source:
isPavesText()
Returns true when stat box is drawn
- Source:
isStats()
Returns true when stat box is drawn
- Source:
isTitle()
Returns true when title is drawn
- Source:
paveContextMenu()
Show pave context menu
- Source:
(async) redraw()
redraw pave object
- Source:
setPaveDrawOption()
Change pave draw option
- Source:
(private) setTitlePosition()
Set position of title
- Source:
updateObject()
Update TPave object
- Source:
(static) canDraw()
Returns true if object is supported
- Source:
(async, static) draw()
Draw TPave
- Source: