AxisTitle Class
Axis Title is a Jermaine model that supports the rendering of Axis Titles.
Constructor
Item Index
Methods
Methods
initializeGeometry
(
chainable
-
graph
-
graphicsContext
Determines values for the position
and anchor
attributes if they were not set; determines the
geometry of the content
attribute. Called by Axis.initializeGeometry()
.
Parameters:
-
graph
Graph -
graphicsContext
Object
render
()
private
Renders the Axis Title. Overridden by implementations in graphics drivers.
render
(
chainable
-
context
Renders the axis title using the Canvas driver.
Parameters:
-
context
HTMLCanvasObject
render
(
chainable
-
paper
-
set
Renders the axis title using the Raphael driver.
Parameters:
-
paper
Paper -
set
Set
Properties
anchor
Point
The value which gives the location of the Title's anchor point to be attached to the base point.
angle
Number
The value which determines the rotation of the Title in degrees.
base
Number
The value which gives the location of the base point relative to the Title's Axis.
position
Point
A coordinate pair of pixel offsets for the base point.