TopAxisLayout Class
Contains algorithms for rendering a top axis.
Item Index
Methods
_getDefaultMargins
    
        ()
    
    
        
            
        
    
    
    
        private
    
    
    
    
    
    Default margins for text fields.
Returns:
_getTransformOrigin
    
        - 
                    
                        rot
Returns the transformOrigin to use for an axis label based on the position of the axis and the rotation of the label.
Parameters:
- 
                    
                        rotNumberThe rotation (in degrees) of the label. 
Returns:
_setRotationCoords
    
        - 
                    
                        props
Adjusts the coordinates of an axis label based on the rotation.
Parameters:
- 
                    
                        propsObjectCoordinates, dimension and rotation properties of the label. 
drawTick
    
        - 
                    
                        path
- 
                    
                        pt
- 
                    
                        tickStyles
Draws a tick
getExplicitlySized
    
        ()
    
    
        
            
        
    
    
    
        protected
    
    
    
    
    
    Determines the available label height when the axis width has been explicitly set.
Returns:
getLabelPoint
    
        - 
                    
                        pt
Calculates the point for a label.
Parameters:
- 
                    
                        ptObjecthash containing x and y coordinates 
Returns:
getLineStart
    
        ()
    
    
    
    
        protected
    
    
    
    
    
    Calculates the coordinates for the first point on an axis.
offsetNodeForTick
    
        - 
                    
                        cb
Adjusts position for inner ticks.
Parameters:
- 
                    
                        cbNodecontentBox of the axis 
positionLabel
    
        - 
                    
                        label
- 
                    
                        pt
Rotate and position labels.
Parameters:
- 
                    
                        labelHTMLElementto rotate position 
- 
                    
                        ptObjecthash containing the x and y coordinates in which the label will be positioned against. 
positionTitle
    
        - 
                    
                        label
Rotate and position title.
Parameters:
- 
                    
                        labelHTMLElementto rotate position 
setCalculatedSize
    
        ()
    
    
    
    
        protected
    
    
    
    
    
    Assigns a height based on the size of the contents.
setTickOffsets
    
        ()
    
    
    
    
        protected
    
    
    
    
    
    Sets the length of the tick on either side of the axis line.
updateMaxLabelSize
    
        - 
                    
                        label
Updates the value for the maxLabelSize for use in calculating total size.
Parameters:
- 
                    
                        labelHTMLElementto measure 
