diff options
| author | Bhumi Thakkar (Open ERP) <bth@tinyerp.com> | 2011-07-12 18:06:38 +0530 |
|---|---|---|
| committer | Bhumi Thakkar (Open ERP) <bth@tinyerp.com> | 2011-07-12 18:06:38 +0530 |
| commit | a76b7d590eadd5895e3c90248c99ccc3b072e389 (patch) | |
| tree | 6c8556f5650573cf6fe6b52d02e5b9cde56ce28b /addons/base_graph/static/lib/dhtmlxGraph/samples/common/data.php | |
| parent | 22eea85f7e5efbba818c9bcb059f932f08c3edb3 (diff) | |
| parent | 9d2e29795e9702d844e81d8d7ee04fff94ac274d (diff) | |
[MERGE] merge with openerp-web.
bzr revid: bth@tinyerp.com-20110712123638-nebxv16iddwsjbzz
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 |
