Title Class
Title is a Jermiane model that controls Graph Titles.
Item Index
Methods
Methods
initializeGeometry
-
graphicsContext
Determines the geometry of the Title's text.
Parameters:
-
graphicsContext
Object
render
()
private
Renders the Graph Title. Overridden by implementations in graphics drivers.
render
-
context
Renders the title using the Canvas driver.
Parameters:
-
context
HTMLCanvasObject
render
-
paper
-
set
Renders the title using the Raphael driver.
Parameters:
-
paper
Paper -
set
Set
Properties
anchor
Point
A coordinate pair which gives the relative location of the Title's anchor point.
base
Point
A coordinate pair which gives the location of the Title's base point, relative to
its Graph's plot or padding box - determined by the frame
attribute.
border
Integer
The width of the border to be drawn around the title in pixel; use a value of 0
to not draw a border.
bordercolor
RGBColor
Color for the Title's border.
color
RGBColor
Background color for the Title's region.
cornerradius
Integer
deprecated
Determines whether the corners of the title appear rounded. If cornerradius is 0, which is the default, the corners are drawn square. If cornerradius > 0, then the corners are rounded off using circles whose radius is cornerradius pixels.
font-size
String
The font-size of the title. Currently is a constant.
frame
String
Determines if the Title is positioned relative to the Graphs plot
or padding
box.
opacity
Number
Opacity of the Title's region.
padding
Integer
The width of the padding between the Title's text and its border in pixels; use a
value of 0
to not draw the padding.
position
Point
A coordinate pair of pixel offsets for the base point.