Lines Class
Utility class used for drawing lines.
Constructor
Lines
()
Index
Properties
Methods
_getGraphic
()
private
Creates a graphic in which to draw a series.
Returns:
<p><p><p>Graphic</p></p></p>
_getLineDefaults
()
protected
Default values for styles attribute.
Returns:
<p><p><p>Object</p></p></p>
_toggleVisible
-
visible
Toggles visibility
Parameters:
-
visibleBoolean<p><p><p>indicates visibilitye</p></p></p>
drawDashedLine
-
xStart -
yStart -
xEnd -
yEnd -
dashSize -
gapSize
Draws a dashed line between two points.
Parameters:
-
xStartNumber<p><p><p>The x position of the start of the line</p></p></p>
-
yStartNumber<p><p><p>The y position of the start of the line</p></p></p>
-
xEndNumber<p><p><p>The x position of the end of the line</p></p></p>
-
yEndNumber<p><p><p>The y position of the end of the line</p></p></p>
-
dashSizeNumber<p><p><p>the size of dashes, in pixels</p></p></p>
-
gapSizeNumber<p><p><p>the size of gaps between dashes, in pixels</p></p></p>
drawLines
()
protected
Draws lines for the series.
drawSpline
()
protected
Connects data points with a consistent curve for a series.