version 2.8

Graph window. Used to display highly customizable graphs.
GWIN allows it to easily draw graphs.
Functions  
GHandle  gwinGGraphCreate (GDisplay *g, GGraphObject *gg, const GWindowInit *pInit) 
Create a graph window. More...  
void  gwinGraphSetStyle (GHandle gh, const GGraphStyle *pstyle) 
Set the style of the graphing operations. More...  
void  gwinGraphSetOrigin (GHandle gh, coord_t x, coord_t y) 
Set the origin for graphing operations. More...  
void  gwinGraphDrawAxis (GHandle gh) 
Draw the axis and the background grid. More...  
void  gwinGraphStartSet (GHandle gh) 
Start a new set of graphing data. More...  
void  gwinGraphDrawPoint (GHandle gh, coord_t x, coord_t y) 
Draw a graph point. More...  
void  gwinGraphDrawPoints (GHandle gh, const point *points, unsigned count) 
Draw multiple graph points. More...  
GHandle gwinGGraphCreate  (  GDisplay *  g, 
GGraphObject *  gg,  
const GWindowInit *  pInit  
) 
Create a graph window.
[in]  g  The GDisplay to display this window on 
[in]  gg  The GGraphObject structure to initialise. If this is NULL the structure is dynamically allocated. 
[in]  pInit  The initialization parameters to use 
gwinSetDefaultColor()
or gwinSetDefaultBgColor()
then these are White and Black respectively. gwinSetDefaultFont()
then there is no default font and text drawing operations will no nothing. void gwinGraphDrawAxis  (  GHandle  gh  ) 
Draw the axis and the background grid.
[in]  gh  The window handle (must be a graph window) 
Draw a graph point.
A graph point and a line connecting to the previous point will be drawn.
[in]  gh  The window handle (must be a graph window) 
[in]  x,y  The new point for the graph. 
Draw multiple graph points.
A graph point and a line connecting to each previous point will be drawn.
[in]  gh  The window handle (must be a graph window) 
[in]  points  The array of points for the graph. 
[in]  count  The number of points in the array. 
Set the origin for graphing operations.
[in]  gh  The window handle (must be a graph window) 
[in]  x,y  The new origin for the graph (in graph coordinates relative to the bottom left corner). 
void gwinGraphSetStyle  (  GHandle  gh, 
const GGraphStyle *  pstyle  
) 
Set the style of the graphing operations.
[in]  gh  The window handle (must be a graph window) 
[in]  pstyle  The graph style to set. 
void gwinGraphStartSet  (  GHandle  gh  ) 
Start a new set of graphing data.
This prevents a line being drawn from the last data point to the next point to be drawn.
[in]  gh  The window handle (must be a graph window) 