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:
_horizontalLine
-
path
-
pt
-
w
-
h
Algorithm for horizontal lines.
_verticalLine
-
path
-
pt
-
w
-
h
Algorithm for vertical lines.
draw
()
protected
Draws the gridlines
remove
()
private
Removes the Gridlines.
Properties
Attributes
axis
Axis
Indicate the Axis
in which to bind
the gridlines.
Fires event axisChange
Fires when the value for the configuration attribute axis
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
Parameters:
-
e
EventFacadeAn Event Facade object with the following attribute-specific properties added:
direction
String
Indicates the direction of the gridline.
Fires event directionChange
Fires when the value for the configuration attribute direction
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
Parameters:
-
e
EventFacadeAn Event Facade object with the following attribute-specific properties added:
graph
Graph
Indicates the Graph
in which the gridlines
are drawn.
Fires event graphChange
Fires when the value for the configuration attribute graph
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
Parameters:
-
e
EventFacadeAn Event Facade object with the following attribute-specific properties added: