Graph Class
The Graph Jermaine model controls the properties for an individual Graph.
Constructor
Graph
()
Item Index
Properties
Methods
findNearestAxis
-
x
-
y
-
orientation
Parameters:
-
x
Object -
y
Object -
orientation
Object
initializeGeometry
-
width
-
height
-
graphicsContext
Initializes the Graph's geometry. Determines the width and height of the Graph's windowBox
,
paddingBox
and plotBox
; calls its Axes' and Legend's implementations of
initializeGeometry
.
Parameters:
-
width
IntegerWidth of the multigraph's div
-
height
IntegerHeight of the multigraph's div
-
graphicsContext
Object
pauseAllData
()
registerCommonDataCallback
-
callback
Convience function for registering callback functions on the Graph's Data
models. Adds
dataReady
event listeners to each of the Graph's Data
models.
Parameters:
-
callback
Function
resumeAllData
()
Properties
background
Background
Child model which controls the properties of the Graph's Background.
multigraph
The containing Multigraph object
paddingBox
Stores the computed width and height of the Graph's paddingBox.
plotarea
Plotarea
Child model which controls the properties of the Graph's Plotarea.
plotBox
Stores the computed width and height of the Graph's plotBox.
plots
Plot
Jermiane Attr_List of the Graph's Plots.
window
Window
Child model which controls the properties of the Graph's Window.
windowBox
Stores the computed width and height of the Graph's windowBox.