Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
dev:gsoc09_pr [2009/08/14 00:45] kethees |
dev:gsoc09_pr [2009/08/14 01:21] (current) kethees |
||
---|---|---|---|
Line 23: | Line 23: | ||
== Future Enhancement(s) == | == Future Enhancement(s) == | ||
+ | * Integrating Person Registry with other person oriented modules. | ||
* Tracking person roles such missing person, disaster victim, logistic oriented person and etc within PR. | * Tracking person roles such missing person, disaster victim, logistic oriented person and etc within PR. | ||
- | + | * Enhancing Person API and lib_chart.inc library functionalities. | |
===== Person API ===== | ===== Person API ===== | ||
Line 97: | Line 97: | ||
</ | </ | ||
+ | ===== Open Flash Chart Library ===== | ||
+ | |||
+ | This allows you to creat a chart with Flash capability. In order to use following function, you need to do is include lib_chart.inc library and call the shn_draw_chart() API function. | ||
+ | |||
+ | == Chart API == | ||
+ | |||
+ | * lib_chart.inc library includes following code snippets. | ||
+ | <code php> | ||
+ | | ||
+ | | ||
+ | |||
+ | | ||
+ | { | ||
+ | $base = ' | ||
+ | | ||
+ | } | ||
+ | |||
+ | </ | ||
+ | |||
+ | Sample $data_file_url formed via stream as follows. | ||
+ | |||
+ | e.g: | ||
+ | <code php> | ||
+ | $url_gender = ' | ||
+ | </ | ||
+ | |||
+ | <code php> | ||
+ | | ||
+ | $array = Data:: | ||
+ | $data = $array[' | ||
+ | $label = $array[' | ||
+ | |||
+ | foreach($data as $d){ | ||
+ | | ||
+ | } | ||
+ | | ||
+ | foreach($data as $key=> | ||
+ | | ||
+ | } | ||
+ | |||
+ | $g = new graph(); | ||
+ | $g-> | ||
+ | $g-> | ||
+ | $g-> | ||
+ | $g-> | ||
+ | $g-> | ||
+ | $g-> | ||
+ | echo $g-> | ||
+ | } | ||
+ | </ | ||
== Ontology == | == Ontology == | ||
* [[dev: | * [[dev: |