Image_Graph_Data_Bar::drawGD() -- Draws the data element, using GD-output
Synopsis
require_once '/Graph/Data/Bar.php'; |
void Image_Graph_Data_Bar::drawGD
(resource &$img [, int $drawWhat = IMAGE_GRAPH_DRAW_FILLANDBORDER])
Description
The parameter $drawWhat is needed to be able to first draw the fill of all bar-elements and later draw the border, in case that stacking is used.
Parameter
- resource
&$img
GD-resource to draw to
- integer
$drawWhat
choose what to draw; use constants IMAGE_GRAPH_DRAW_FILLANDBORDER,
IMAGE_GRAPH_DRAW_JUSTFILL or IMAGE_GRAPH_DRAW_JUSTBORDER
Throws
throws no exceptions thrown
Note
This function can not be called
statically.