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:
-
pathPathReference to path element
-
ptObjectCoordinates corresponding to a major unit of an axis.
-
wNumberWidth of the Graph
-
hNumberHeight of the Graph
_verticalLine
(
private
-
path -
pt -
w -
h
Algorithm for vertical lines.
Parameters:
-
pathPathReference to path element
-
ptObjectCoordinates corresponding to a major unit of an axis.
-
wNumberWidth of the Graph
-
hNumberHeight 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.
