[Zope] Generating Graphs on the Fly

Laurie Nason lnason@bcm.tmc.edu
Thu, 16 May 2002 15:22:58 -0500


Hi all,

Here's the problem,

I want to use a python site-package called pychart to generate graphs for my
laboratory.

If I provide all the parameters required internally an the External Method,
I can get the graph to be produced.
To generate the graph I have a DTML Method (meth_1) which calls
my_graph_external_method.
To use my graph all I have to do is: <img src="meth_1">.

But, what I want to do is to be able to pass in parameters to the external
method, i.e. graph type, data, labels etc. so that the users can customize
their graphs. However I can't pass in any parameters to meth_1.

I don't really want to make the process 2 step by creating the file with one
method and then reading it with another.

Anyone any ideas?

Laurie

PS Scripts available if they will help

Laurie Nason
Scientific Programmer
National Center for Macromolecular Imaging
Houston TX USA