TimeImpl Class
TimeImpl contains logic for time data. TimeImpl is used by the following classes:
Constructor
TimeImpl
    
        ()
    
    
    
    
    
    
    
    
    
    Item Index
Methods
Attributes
Methods
_getCoordFromValue
    
        - 
                    
                        
min - 
                    
                        
max - 
                    
                        
length - 
                    
                        
dataValue - 
                    
                        
offset - 
                    
                        
reverse 
Returns a coordinate corresponding to a data values.
Parameters:
- 
                    
                        
minNumberThe minimum for the axis.
 - 
                    
                        
maxNumberThe maximum for the axis.
 - 
                    
                        
lengthNumberThe distance that the axis spans.
 - 
                    
                        
dataValueNumberA value used to ascertain the coordinate.
 - 
                    
                        
offsetNumberValue in which to offset the coordinates.
 - 
                    
                        
reverseBooleanIndicates whether the coordinates should start from the end of an axis. Only used in the numeric implementation.
 
Returns:
Number
_getKeyArray
    
        - 
                    
                        
key - 
                    
                        
data 
Gets an array of values based on a key.
Parameters:
Returns:
Array
_getNumber
    
        - 
                    
                        
val 
Parses value into a number.
Parameters:
- 
                    
                        
valObjectValue to parse into a number
 
Returns:
Number
_getSetMax
    
        ()
    
    
        
            
        
    
    
    
        private
    
    
    
    
    
    
    Indicates whether or not the maximum attribute has been explicitly set.
Returns:
Boolean
_getSetMin
    
        ()
    
    
        
            
        
    
    
    
        private
    
    
    
    
    
    
    Indicates whether or not the minimum attribute has been explicitly set.
Returns:
Boolean
_maximumGetter
    
        ()
    
    
        
            
        
    
    
    
        private
    
    
    
    
    
    
    Getter method for maximum attribute.
Returns:
Number
_minimumGetter
    
        ()
    
    
        
            
        
    
    
    
        private
    
    
    
    
    
    
    Getter method for minimum attribute.
Returns:
Number
_updateMinAndMax
    
        ()
    
    
    
    
        private
    
    
    
    
    
    
    Calculates the maximum and minimum values for the Axis.
Properties
_dataType
    Unknown
    
    
        private
    
    
    
    
    Type of data used in Axis.
_type
    Unknown
    
    
        private
    
    
    
    
    Type of data used in Data.
Attributes
labelFormat
    String
    
    
    
    
    
    
    
    
    Pattern used by the labelFunction to format a label.
Fires event labelFormatChange
            
            Fires when the value for the configuration attribute labelFormat is
            changed. You can listen for the event using the on method if you
            wish to be notified before the attribute's value has changed, or
            using the after method if you wish to be notified after the
            attribute's value has changed.
            
Parameters:
- 
                        
eEventFacadeAn Event Facade object with the following attribute-specific properties added: 
labelFunction
    Function
    
    
    
    
    
    
    
    
    Method used for formatting a label. This attribute allows for the default label formatting method to overridden.
The method use would need to implement the arguments below and return a String or an HTMLElement. The default
implementation of the method returns a String. The output of this method will be rendered to the DOM using
appendChild. If you override the labelFunction method and return an html string, you will also need to override
the Axis' appendLabelFunction to accept html as a String.
- val
 - Label to be formatted. (
String) - format
 - STRFTime string used to format the label. (optional)
 
Fires event labelFunctionChange
            
            Fires when the value for the configuration attribute labelFunction is
            changed. You can listen for the event using the on method if you
            wish to be notified before the attribute's value has changed, or
            using the after method if you wish to be notified after the
            attribute's value has changed.
            
Parameters:
- 
                        
eEventFacadeAn Event Facade object with the following attribute-specific properties added: 
