[Zope] graphs and charts

AM list_subscriber@neurobs.com
Tue, 24 Sep 2002 17:12:06 -0700


That works out  great
I threw the dtml-var resu... out and used the <img> and its beutiful now

So if that works why provide the <dtml-var ...> at all??
AM

Ulrich Wisser wrote:

>Hi,
>
>  
>
>>      <dtml-var result_chart>
>>    
>>
>
>look at your html source. This produced an image tag
>pointing to your zgdchart instance. Try this
>
><img src="<dtml-var "zgdchart.absolute_url()?poll_id=7">">
>
>instead. To debug your data DTML method open the window with
>the method for debug purposes replace all poll_id with 7
>save the changes and open the "view" tab in a new window.
>You should see the raw data maybe mixed with some HTML
><title>.
>
>If that looks close to what you expect change the 7 back to
>poll_id. Open again the "view" tab in a new window. Probably
>an error will occur. Now edit the address, add
>?poll_id:int=7 to the url. Then it should work again
>otherwise you still have some error in your code.
>
>If that works you should get a chart.
>
>Ulli
>
>PS. Where I live it is now close to midnight. So I will be
>back in approx. 9 hours to help.
>
>  
>

-- 
==================================================================
 Aseem Mohanty							   
 Neurobehavioral Systems Inc, 828 San Pablo Ave, Albany, CA 94706 
 (R) 510 7696011 (M) 510 3014871 (O) 510 5279231		  	
==================================================================								  	
 "I saw `cout' being shifted "Hello world" times to the left and  
  stopped right there!!"                        -- Steve Gonedes  
==================================================================