Discussion:
[Erp5-dev] ZGDChart, ZPyChart usage
Łukasz Nowak
2008-03-18 10:29:43 UTC
Permalink
Hello,

I've seen great charts representing resource stock history, eg on
"ERP5 10 Key Advantages"[1]. I've grepped BT XML files for 'Chart'
keyword, but nothing was found.

We'd love to have such feature - people just needed (eg. to observe
low stocks, or high income account values ;) ).

The only references I found are from Diego Manh?es Pinheiro's mails
[2],[3]. But they won't help me too much.

Questions:
1. Is there any implementation example/documentation about it?
2. Will anybody would help me to create wikipage about it? As soon as I
start playing with it I'll share may knowledge and try to ZGDChart[4]
and ZPyChart[5] source is too generic for me and it is quite hard to
bootstrap using such tool without any working/almost working example...
3. Are there plans to finish ZPyChart? In thread about it[3] there is
statement "...and hope to move some day in the future to ZPyChart." Has
future come already?

Regards,
Luke

[1]http://www.erp5.com/web_page_module/22/3
[2]http://mail.nexedi.com/pipermail/erp5-dev/2006-June/000525.html
[3]http://mail.nexedi.com/pipermail/erp5-dev/2006-June/000527.html
[4]http://svn.erp5.org/erp5/trunk/products/ERP5Form/ZGDChart.py?view=log
[5]http://svn.erp5.org/erp5/trunk/products/ERP5Form/ZPyChart.py?view=log
--
?ukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 768 16 85 fax: +48 32 392 10 61
``Use the Source, Luke...'' I am only craftsman.
Nicolas Delaby
2008-03-18 10:40:34 UTC
Permalink
Post by Łukasz Nowak
Hello,
I've seen great charts representing resource stock history, eg on
"ERP5 10 Key Advantages"[1]. I've grepped BT XML files for 'Chart'
keyword, but nothing was found.
Hi, there is allready a Chart implementation in ERP5.
You can see it in ERP5Form.
OOoChart works in association with a listbox which is used to returns data.
This is currently a minimal implementation, but it will be upgraded very
soon.

regards.
--
Nicolas Delaby
Nexedi: Consulting and Development of Libre / Open Source Software
http://www.nexedi.com/
ERP5 Express: Hosted Free / Open Source ERP Software for small companies
http://www.myerp5.com/
Łukasz Nowak
2008-03-18 10:43:27 UTC
Permalink
Hello,

On 2008-03-18, 11:40:34
Post by Nicolas Delaby
Hi, there is allready a Chart implementation in ERP5.
You can see it in ERP5Form.
OOoChart works in association with a listbox which is used to returns
data. This is currently a minimal implementation, but it will be
upgraded very soon.
Huh - I wasn't precise enough. I found it, even in ZMI. But I'm not
able to figure out how to create properly working ZGDChart field for
eg. Product portal type (I used getCurrentInventoryChart as Data
Method, but w/o sucess). I'll play a little and send report from my
investigation soon.

Regards,
Luke
--
?ukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 768 16 85 fax: +48 32 392 10 61
``Use the Source, Luke...'' I am only craftsman.
Łukasz Nowak
2008-03-18 11:15:44 UTC
Permalink
Hello,

On 2008-03-18, 11:40:34
Post by Łukasz Nowak
Hello,
I've seen great charts representing resource stock history, eg on
"ERP5 10 Key Advantages"[1]. I've grepped BT XML files for 'Chart'
keyword, but nothing was found.
Ok - I may switch do OOoChart - but still I wasn't able to find any
working example of OOoChart in Business Templates. And as I do not know
what to look for I won't be able to find it. Only reference was
Base_convertDateListToChartList, but without any usage. So I'm stuck.

Regards,
Luke
--
?ukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 768 16 85 fax: +48 32 392 10 61
``Use the Source, Luke...'' I am only craftsman.
Nicolas Delaby
2008-03-18 11:46:34 UTC
Permalink
Post by Łukasz Nowak
Ok - I may switch do OOoChart - but still I wasn't able to find any
working example of OOoChart in Business Templates. And as I do not know
what to look for I won't be able to find it. Only reference was
Base_convertDateListToChartList, but without any usage. So I'm stuck.
Yes you right, OOochart is not usable at current release. So we planned
to release a stable and fully implemented version of OOochart in few days.
Next, documentation will be published on wiki.
--
Nicolas Delaby
Nexedi: Consulting and Development of Libre / Open Source Software
http://www.nexedi.com/
ERP5 Express: Hosted Free / Open Source ERP Software for small companies
http://www.myerp5.com/
Łukasz Nowak
2008-03-18 11:55:32 UTC
Permalink
Hello,

On 2008-03-18, 12:46:34
Post by Nicolas Delaby
Post by Łukasz Nowak
Ok - I may switch do OOoChart - but still I wasn't able to find any
working example of OOoChart in Business Templates. And as I do not
know what to look for I won't be able to find it. Only reference was
Base_convertDateListToChartList, but without any usage. So I'm stuck.
Yes you right, OOochart is not usable at current release. So we
planned to release a stable and fully implemented version of OOochart
in few days. Next, documentation will be published on wiki.
Thanks for this information. You saved me another couple of hours of
hacking for working solution.

Regards,
Luke
--
?ukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 768 16 85 fax: +48 32 392 10 61
``Use the Source, Luke...'' I am only craftsman.
Łukasz Nowak
2008-03-18 10:47:51 UTC
Permalink
Hello,

On 2008-03-18, 11:29:43
Post by Łukasz Nowak
Hello,
I've seen great charts representing resource stock history, eg on
"ERP5 10 Key Advantages"[1]. I've grepped BT XML files for 'Chart'
keyword, but nothing was found.
My fault :( There is Chart referenced in Delivery_viewInventory. I'll
try to use it as example.

Regards,
Luke
--
?ukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 768 16 85 fax: +48 32 392 10 61
``Use the Source, Luke...'' I am only craftsman.
Łukasz Nowak
2008-03-18 10:51:16 UTC
Permalink
Hello,

On 2008-03-18, 11:47:51
Post by Łukasz Nowak
Hello,
On 2008-03-18, 11:29:43
Post by Łukasz Nowak
Hello,
I've seen great charts representing resource stock history, eg on
"ERP5 10 Key Advantages"[1]. I've grepped BT XML files for 'Chart'
keyword, but nothing was found.
My fault :( There is Chart referenced in Delivery_viewInventory. I'll
try to use it as example.
Ok. Found out - I've been stopped again, by same problem as in July
2007[1] - no Resource_getInventoryHistoryChart available...

Regards,
Luke

[1]http://mail.nexedi.com/pipermail/erp5-dev/2007-July/001176.html
--
?ukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 768 16 85 fax: +48 32 392 10 61
``Use the Source, Luke...'' I am only craftsman.
Loading...