Plots Class
Utility class used for drawing markers.
Item Index
Methods
Properties
Methods
_clearMarkerCache
    
        ()
    
    
    
    
        private
    
    
    
    
    
    Removes unused markers from the marker cache
_createGroupMarkers
    
        - 
                    
                        
styles 
Draws a series of markers in a single shape instance.
Parameters:
- 
                    
                        
stylesObjectSet of configuration properties used to create the markers.
 
_createMarker
    
        - 
                    
                        
styles - 
                    
                        
order - 
                    
                        
index 
Creates a shape to be used as a marker.
Parameters:
Returns:
_createMarkerCache
    
        ()
    
    
    
    
        private
    
    
    
    
    
    Creates a cache of markers for reuse.
_getGroupShape
    
        - 
                    
                        
shape 
Returns the correct group shape class.
Returns:
_getItemColor
    
        - 
                    
                        
val - 
                    
                        
i 
Parses a color from an array.
Returns:
_getPlotDefaults
    
        ()
    
    
        
            
        
    
    
    
        protected
    
    
    
    
    
    Gets the default values for series that use the utility. This method is used by
the class' styles attribute's getter to get build default values.
Returns:
_getState
    
        - 
                    
                        
type 
Returns marker state based on event type
Parameters:
- 
                    
                        
typeStringevent type
 
Returns:
_parseMarkerStyles
    
        - 
                    
                        
Object 
Combines new styles with existing styles.
Parameters:
- 
                    
                        
ObjectObjectcontaining style properties for the marker.
 
Returns:
_setStyles
    
        - 
                    
                        
newStyles 
Method used by styles setter. Overrides base implementation.
Parameters:
- 
                    
                        
newStylesObjectHash of properties to update.
 
Returns:
_toggleVisible
    
        - 
                    
                        
visible 
Toggles visibility
Parameters:
- 
                    
                        
visibleBooleanindicates visibilitye
 
drawPlots
    
        ()
    
    
    
    
        protected
    
    
    
    
    
    Draws the markers
getMarker
    
        - 
                    
                        
styles - 
                    
                        
order - 
                    
                        
index 
Gets and styles a marker. If there is a marker in cache, it will use it. Otherwise it will create one.
Parameters:
Returns:
Properties
_groupShapes
    Unknown
    
    
        private
    
    
    
    
    Pre-defined group shapes.
