Methods
addTitleDrag()
Add interactive elements to draw axes title
- Source:
addZoomingRect()
Add zooming rect to axis drawing
- Source:
changeAxisAttr()
Change axis attribute, submit changes to server and redraw axis when specified
- Description:
Arguments as redraw_mode, name1, value1, name2, value2, ...
- Source:
changeAxisLog()
Change axis log scale kind
- Source:
cleanup()
cleanup painter
- Source:
(private) configureAxis()
Configure axis painter
- Description:
Axis can be drawn inside frame
group with offset to 0 point for the frame Therefore one should distinguish when calculated coordinates used for axis drawing itself or for calculation of frame coordinates
- Source:
configureZAxis()
Configure only base parameters, later same handle will be used for drawing
- Source:
createTicks()
Creates array with minor/middle/major ticks
- Source:
(async) drawAxis() → {Promise}
Performs axis drawing
- Source:
Returns:
which resolved when drawing is completed
- Type
- Promise
drawAxisAgain()
Draw axis with the same settings, used by interactive changes
- Source:
drawAxisOtherPlace()
Draw axis again on opposite frame size
- Source:
(async) drawLabels() → {Promise}
Performs labels drawing
- Source:
Returns:
with gaps in both direction
- Type
- Promise
(private) drawMainLine()
Draw axis ticks
- Source:
(private) drawTicks() → {Object}
Draw axis ticks
- Source:
Returns:
with gaps on left and right side
- Type
- Object
(async) drawTitle()
Draw axis title
- Source:
(private) extractDrawAttributes()
Extract major draw attributes, which are also used in interactive operations
- Source:
fillAxisContextMenu()
Provide context menu for axis
- Source:
formatLabels()
Provide label for axis value
- Source:
getAxisType()
Use in GED to identify kind of axis
- Source:
getGrRange()
returns graphical range
- Source:
getScaleMax()
Return scale max
- Source:
getScaleMin()
Return scale min
- Source:
isCenteredLabels()
Is labels should be centered
- Source:
isInsideGrRange()
checks if value inside graphical range, taking into account delta
- Source:
isReverseAxis()
If axis direction is negative coordinates direction
- Source:
isRotateLabels()
Is labels should be rotated
- Source:
isTitleRotated()
Returns true if axis title is rotated
- Source:
positionChanged()
Process interactive moving of the axis drawing
- Source:
(private) processLabelsMove()
Used to move axis labels instead of zooming
- Source:
redraw()
Redraw axis, used in standalone mode for RAxisDrawable
- Source:
(private) setAfterDrawHandler()
Assign handler, which is called when axis redraw by interactive changes
- Description:
Used by palette painter to reassign interactive handlers
- Source:
zoomStandalone()
Change zooming in standalone mode
- Source: