diff options
| author | Antony Lesuisse <al@openerp.com> | 2011-09-05 15:47:04 +0200 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2011-09-05 15:47:04 +0200 |
| commit | 4a9a4f5b81fc6dcccf2327b2f027e17850fe09bc (patch) | |
| tree | e10e323e02a95858ca824f4710037caaee895727 /addons/web_graph/static/lib/dhtmlxGraph/samples/common/data.php | |
| parent | 98c4a1a972be36f2879f66ad9b8eeeb2b2f1b7a0 (diff) | |
| parent | 4989aadc90baf74160b5a2bbd672390991caf5cf (diff) | |
[MERGE] renamed addons base to web
bzr revid: al@openerp.com-20110905134704-vdns4eif0kc7u0kv
Diffstat (limited to 'addons/web_graph/static/lib/dhtmlxGraph/samples/common/data.php')
| -rw-r--r-- | addons/web_graph/static/lib/dhtmlxGraph/samples/common/data.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/addons/web_graph/static/lib/dhtmlxGraph/samples/common/data.php b/addons/web_graph/static/lib/dhtmlxGraph/samples/common/data.php new file mode 100644 index 00000000000..ac8f5116a9d --- /dev/null +++ b/addons/web_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 |
