[Zope] graphs and charts

Zachary Wu zachary@combi.com.cn
Wed, 25 Sep 2002 13:49:42 +0800


Yep, I never use the <dtml-var... to reference a image object. I alway
use <img ... directly, and never got problem

--------------------------------------------------------------------
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  
================================================================== 




_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )