void __construct(
array
&$xmlArr
)
|
|
Initialize chartService with xml array metadata
Parameters:
array &GetPlotData(
BizObj
&$bizObj, array
$fields, array
$labelField
)
|
|
Get plot data array
Parameters:
|
BizObj |
$bizObj: |
object reference of bizobj |
|
array |
$fields: |
list of bizobj fields |
|
array |
$labelField: |
label field of bizobj |
API Tags:
| Return: | reference of the array [field][index] |
| Access: | public |
void PieGraphRender(
BizObj
&$bizObj, array
&$xmlArr
)
|
|
draw the Pie type graph (can have 1 pie plot)
Parameters:
|
BizObj |
$bizObj: |
object reference of bizobj |
|
array |
$xmlArr: |
xml array reference |
API Tags:
void render(
mixed
$objName
)
|
|
API Tags:
object refernce RenderPiePlot(
array
&$data, array
&$xmlArr
)
|
|
chartService::RenderPiePlot() - draw the Pie type plot
Parameters:
|
array |
$data: |
plot data array reference |
|
array |
$xmlArr: |
xml array reference |
API Tags:
| Return: | Pie plot object reference |
| Access: | public |
object refernce RenderXYPlot(
array
&$data, array
&$xmlArr
)
|
|
Draw the XY type plot
Parameters:
|
array |
$data: |
plot data array reference |
|
array |
$xmlArr: |
xml array reference |
API Tags:
| Return: | XY plot object reference |
| Access: | public |
void XYGraphRender(
BizObj
&$bizObj, array
&$xmlArr
)
|
|
Draw the XY type graph (can have > 1 plots)
Parameters:
|
BizObj |
$bizObj: |
object reference of bizobj |
|
array |
$xmlArr: |
xml array reference |
API Tags: