Lines Class
Utility class used for drawing lines.
Constructor
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:
-
visible
Booleanindicates visibilitye
drawDashedLine
(
private
-
xStart
-
yStart
-
xEnd
-
yEnd
-
dashSize
-
gapSize
Draws a dashed line between two points.
Parameters:
-
xStart
NumberThe x position of the start of the line
-
yStart
NumberThe y position of the start of the line
-
xEnd
NumberThe x position of the end of the line
-
yEnd
NumberThe y position of the end of the line
-
dashSize
Numberthe size of dashes, in pixels
-
gapSize
Numberthe 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.