Data Structures | |
struct | trd_graph_t |
struct | trd_state_change_t |
Typedefs | |
typedef trd_state_change_t | trd_state_change_t |
typedef trd_graph_t | trd_graph_t |
Functions | |
trd_graph_t * | trd_graph_create (long width, long height, apr_pool_t *pool) |
sos_status_t * | trd_graph_status_find (trd_graph_t *graph, sul_key_t id) |
void | trd_graph_render_basics (trd_graph_t *graph) |
void | trd_graph_render_title (trd_graph_t *graph) |
void | trd_graph_write (trd_graph_t *graph, char *file) |
long | trd_graph_transform_x (trd_graph_t *graph, time_t x) |
long | trd_graph_transform_y (trd_graph_t *graph, float y) |
void | trd_graph_render_legend (trd_graph_t *graph) |
void | trd_graph_render_grid (trd_graph_t *graph, short x, short y) |
void | trd_graph_render_axii (trd_graph_t *graph) |
|
Graph object storing properties and information for a graph that the trend grapher is generating. |
|
Object representing a state change in the history of an object. |
|
Creates a new Graph object.
|
|
Renders graph axii.
|
|
Renders the basic foundation onto the graph, including the background and the lovely border we wrap everything in. Used for every type of graph that this executable can make, its pretty important cause otherwise they look kind of funny.
|
|
Renders a standard grid to the graph.
|
|
Renders a legend to the graph, detailing the information that one can learn from her.
|
|
Renders the title to the graph, read in from the graph objects title member variable.
|
|
Locates a status object in the Graph with the given identifier, this avoid a query each time we need this.
|
|
Transforms an X coordinate in standard "data" space to the plotting area space.
|
|
Transforms an Y coordinate in standard "data" space to the plotting area space.
|
|
Writes the graph's image to a file as a PNG image.
|