Public Member Functions | |
__construct (&$xmlArr) | |
Public | render ($objName) |
& | getPlotData (&$bizObj, $fields, $labelField) |
xyGraphRender (&$bizObj, &$xmlArr) | |
pieGraphRender (&$bizObj, &$xmlArr) | |
renderXYPlot (&$data, &$xmlArr) | |
renderPiePlot (&$data, &$xmlArr) | |
Data Fields | |
$m_PlotList |
Definition at line 25 of file chartService.php.
__construct | ( | &$ | xmlArr ) |
Initialize chartService with xml array metadata
array | $xmlArr |
Definition at line 40 of file chartService.php.
& getPlotData | ( | &$ | bizObj, |
$ | fields, | ||
$ | labelField | ||
) |
Get plot data array
BizObj | $bizObj | object reference of bizobj |
array | $fields | list of bizobj fields |
array | $labelField | label field of bizobj |
Definition at line 94 of file chartService.php.
pieGraphRender | ( | &$ | bizObj, |
&$ | xmlArr | ||
) |
draw the Pie type graph (can have 1 pie plot)
BizObj | $bizObj | object reference of bizobj |
array | $xmlArr | xml array reference |
Definition at line 188 of file chartService.php.
Public render | ( | $ | objName ) |
Render the chart output
string | $objName | object name which is the bizform name |
Definition at line 50 of file chartService.php.
renderPiePlot | ( | &$ | data, |
&$ | xmlArr | ||
) |
chartService::renderPiePlot() - draw the Pie type plot
array | $data | plot data array reference |
array | $xmlArr | xml array reference |
Definition at line 293 of file chartService.php.
renderXYPlot | ( | &$ | data, |
&$ | xmlArr | ||
) |
Draw the XY type plot
array | $data | plot data array reference |
array | $xmlArr | xml array reference |
Definition at line 226 of file chartService.php.
xyGraphRender | ( | &$ | bizObj, |
&$ | xmlArr | ||
) |
Draw the XY type graph (can have > 1 plots)
BizObj | $bizObj | object reference of bizobj |
array | $xmlArr | xml array reference |
Definition at line 120 of file chartService.php.