diff options
| author | Yogesh (OpenERP) <ysa@tinyerp.com> | 2011-07-12 10:15:02 +0530 |
|---|---|---|
| committer | Yogesh (OpenERP) <ysa@tinyerp.com> | 2011-07-12 10:15:02 +0530 |
| commit | 52d68ea4b3c0193c51cfbd27a09280ee83873bab (patch) | |
| tree | 189d3bf841fe2dc13c0b47bac3d5907cade899ce /addons/base_graph/static/lib/dhtmlxGraph/samples/common/data.php | |
| parent | a5fb5a10c17ddc06fe889fe793ef0a195a51c921 (diff) | |
| parent | b25d3dc26b2e5b7aea672eaf14a64ecbfa9f1b03 (diff) | |
[MERGE] Merge with trunk upto revision no 598
bzr revid: ysa@tinyerp.com-20110712044502-it4pjxlnvtuqhjvu
Diffstat (limited to 'addons/base_graph/static/lib/dhtmlxGraph/samples/common/data.php')
| -rw-r--r-- | addons/base_graph/static/lib/dhtmlxGraph/samples/common/data.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/addons/base_graph/static/lib/dhtmlxGraph/samples/common/data.php b/addons/base_graph/static/lib/dhtmlxGraph/samples/common/data.php new file mode 100644 index 00000000000..ac8f5116a9d --- /dev/null +++ b/addons/base_graph/static/lib/dhtmlxGraph/samples/common/data.php @@ -0,0 +1,16 @@ +<?php
+
+$str = "<data>";
+
+for ($i=1; $i <= 100; $i++) {
+ $sales = rand(100,1000);
+ $year = rand(1996,2009);
+ $company = "Company ".rand(1,3);
+ $str.="<item id='{$i}' sales='{$sales}' year='{$year}' company='{$company}'></item>";
+}
+
+$str .= "</data>";
+
+file_put_contents("stat.xml",$str);
+
+?>
\ No newline at end of file |
