Lines Class
Utility class used for drawing lines.
Item Index
Properties
Methods
_getGraphic
    
        ()
    
    
        
            
        
    
    
    
        private
    
    
    
    
    
    Creates a graphic in which to draw a series.
Returns:
                
                    
                    Graphic
                
            
        _getLineDefaults
    
        ()
    
    
        
            
        
    
    
    
        protected
    
    
    
    
    
    Default values for styles attribute.
Returns:
                
                    
                    Object
                
            
        _toggleVisible
    
        
            (
    
    
    
    
        private
    
    
    
    
    
    - 
                    
                        visible
Toggles visibility
Parameters:
- 
                    
                        visibleBooleanindicates visibilitye 
drawDashedLine
    
        
            (
    
    
    
    
        private
    
    
    
    
    
    - 
                    
                        xStart
- 
                    
                        yStart
- 
                    
                        xEnd
- 
                    
                        yEnd
- 
                    
                        dashSize
- 
                    
                        gapSize
Draws a dashed line between two points.
Parameters:
- 
                    
                        xStartNumberThe x position of the start of the line 
- 
                    
                        yStartNumberThe y position of the start of the line 
- 
                    
                        xEndNumberThe x position of the end of the line 
- 
                    
                        yEndNumberThe y position of the end of the line 
- 
                    
                        dashSizeNumberthe size of dashes, in pixels 
- 
                    
                        gapSizeNumberthe size of gaps between dashes, in pixels 
drawLines
    
        ()
    
    
    
    
        protected
    
    
    
    
    
    Draws lines for the series.
drawSpline
    
        ()
    
    
    
    
        protected
    
    
    
    
    
    Connects data points with a consistent curve for a series.
