gErr grLibSetGraphParams

(Graph_t* br, Coord x, Coord y, Coord ex,
  Coord ey, GraphType_t gtype,
  Boolean color)

[MANDATORY if not using default initialization values] sets desired graph data structure initialization values.

Documentation

[MANDATORY if not using default initialization values] sets desired graph data structure initialization values. Call this function after doing a default initialization of the data struct. This specifies desired graph outline (the outer frame for the graph), and the type of graph desired to be drawn and whether it must be drawn in color or not.
Parameters:
br - pointer to the data structure
x - topleft X
y - topleft Y
ex - the width of frame
ey - the height of frame
gtype - Graph Type.(BAR,LINE,STACK)
color - whether color supported or not (1/0)
Returns:
gErr if inconsistent values are entered
[NOTE] : Not required for PIE graphs

Alphabetic index



This page was generated with the help of DOC++.