Hi, Jon I just found that jfreechart's getImageMap(java.lang.String name, ChartRenderingInfo info) to get the string of '<map> ... </map>' for the imagemap. But how can I direct write the string into the wicket page? Could you show me some example please?
Cheers, Tao On 8/1/05, Jonathan Locke <[EMAIL PROTECTED]> wrote: > > that sounds pretty tough. seems like it would be better for jfreechart > to give you the rectangles > that need to be turned into the image map and then you could add the > links using the normal > wicket image map component. maybe look at the jfreechart source code > for writeImageMap? > > btw, if you get a nice Chart component going based on jfreechart, we'd > love it if you contributed > it. i've used jfreechart in the past and it really rocks. with the > wicket dynamic image stuff, it > should be a snap to produce amazing charts embedded in a web page. > > jon > > Tao Lin wrote: > > >Hi, all > > > >I try to use Wicket ImageMap with jfreechart > >ImageMapUtilities.writeImageMap function. > > > >I read through the wicket linkomatic example and ImageMap class > >document. It looks like it have to use addXXXLink() to create a link > >for the image. But in jfreechart I have to use > >ImageMapUtilities.writeImageMap(java.io.PrintWriter writer, > >java.lang.String name, ChartRenderingInfo info) to generate a image > >map and write the map to the PrinterWriter. > > > >So is any way I can use writeImageMap with Wicket ImageMap together? > > > >Cheers, > > > > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > -- Tao Lin ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
