dynamic in the sense that the page that produces the grpah doesnt query the same tables over and over again...
before in my page i usually place.. <img src=graph.tcl> to produce the graph together with the other forms and text..
but since ill be querying different tables depending on the parent page.. i think <img src=graph.tcl> wouldnt do the trick... unless ill be able to pass an argument to graph.tcl in the adp page.. such as <img src=graph.tcl $tables_to_query > but i dont think its possible (or i might be wrong)..
i found somewhat a sol'n but caused another problem..
i tried to place the code of graph.tcl in page1.tcl and from it @foo@ can be accessed from page2.adp.. and outputs the binary using <img src=<%[ns_writebinary @foo@]%>> but another problem arises it only output the image it didn't include my html text and forms..