Gridlines Class
Gridlines draws gridlines on a Graph.
Item Index
Properties
Methods
_drawGridlines
()
private
Algorithm for drawing gridlines
_getDefaultStyles
()
protected
Gets the default value for the styles
attribute. Overrides
base implementation.
Returns:
Object
_horizontalLine
(
private
-
path
-
pt
-
w
-
h
Algorithm for horizontal lines.
Parameters:
-
path
PathReference to path element
-
pt
ObjectCoordinates corresponding to a major unit of an axis.
-
w
NumberWidth of the Graph
-
h
NumberHeight of the Graph
_verticalLine
(
private
-
path
-
pt
-
w
-
h
Algorithm for vertical lines.
Parameters:
-
path
PathReference to path element
-
pt
ObjectCoordinates corresponding to a major unit of an axis.
-
w
NumberWidth of the Graph
-
h
NumberHeight of the Graph
draw
()
protected
Draws the gridlines
remove
()
private
Removes the Gridlines.
Properties
_path
Path
private
Reference to the Path
element used for drawing Gridlines.