A generic class to provide graphs. Provides labels, title and plots points.
| [RW] |
:borderColor |
|
| [RW] |
:graphColor |
|
| [RW] |
:labelSteps |
|
| [RW] |
:title |
|
| [RW] |
:worldFrame |
|
Standard constructor of a canvas
Draws the labels along the horizontal axis
Draws the labels along the verticle axis
This gets the X coordinate for the graph in terms of the first world
coordinate
This gets the Y coordinate for the graph in terms of the second world
coordinate
Returns the first world coordinate given an X (screen) coordinate
Returns the second world coordinate given a Y (screen) coordinate
Plots given the first and second world coordinate in the given color.