On 20/12/11 09:08 -0800, oscar_andres_col wrote:
> Hi,
> 
> I have been testing graph view in tryton and I think could to
> improvement it, about follow items:
> 
> - More Flexibility: The user built in easy view in client with add
> fields on "x" axis and "y" axis (for line a Bar chart), and choose the
> type graph (Bar, Multibar Chart, Line Chart, Pie Chart), the tryton
> client render the graph.

I don't think it is doable. Most of the Graph comes from a SQL query.
But fill free to write a module that generate it on the fly.

> - More Dinamics: When it change number records searched update the
> graph,

It does.

> and showing min-max, average or sum value.

It must and could be done in the SQL query. But in any way, it must be
done on the client side.

> - Mode Editable: For example change default colors used, grid or not
> grid, change attributes for type line chart

This is a good idea, it could be made more dynamic by using a PYSON
expression.

> (dotted, line and dotted),
> position title of axis, etc, rotation of Pie Chart, (very nice), etc.

Agree it is a posible improvement.

> - More Beautiful: Sorry  ;)

Matter of taste: Sorry ;-)

> - Extension: The graph could be included in Reports (ODF, PDF), so
> after or before the tables o datas.

Don't want to depend on GTK on the server side but if you want you can
have almost the same report as the client using
http://www.lorenzogil.com/projects/pycha/

> And the graph view start  for (almost) all modules, from action in a
> main Toolbar button (new button). So then programming each view graph
> would be zero.

I don't understand.

> I think that this nice project in pure python and Gtk as Graph Module:
> 
> http://notmyname.github.com/pygtkChart/
> 
> It is perfect for incorporate in Tryton Client/Server (obviously
> replacing the current graph modules), I seem that our the customer
> would be impact it and happies.

I don't see any major difference with the current implementation.
Except that this project did not get any commits since 2 years and have
no release.
It will faster to just improve the current one than changing the all
engine because you just have minor request.

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgpKWXCnyRjfz.pgp
Description: PGP signature

Reply via email to