Re: Rendering Chart and ImageMap on the page

2010-05-27 Thread paha
thanks, i just wanted to know if there is any better approach. for now i render the chart in beginRender and store image as Byte[] in field with FLASH Strategy. seems to work :) -- View this message in context: http://old.nabble.com/Rendering-Chart-and-ImageMap-on-the-page-tp28693905p28696838.

Re: Rendering Chart and ImageMap on the page

2010-05-27 Thread Josh Canfield
You've outlined the two approaches. Either you generate the chart twice or store the image for later retrieval. You have to decide which concerns you more, CPU to generate the chart or memory to store it. I don't know how what backs the chart's image stream, but I'd probably generate the im

Re: Rendering Chart and ImageMap on the page

2010-05-27 Thread Thiago H. de Paula Figueiredo
Option 2. On Thu, 27 May 2010 11:32:26 -0300, paha wrote: Hi, i have a question: what is the best approach to extend http://wiki.apache.org/tapestry/Tapestry5HowToCreateGenericGraphComponent GenericGraphComponent to output an image map along with the chart itself. for now i have only one