Re: Graphs, Charts and Wicket

2010-01-21 Thread Fernando Wermus
The code to make swfObject to work into a Modal Window if (AjaxRequestTarget.get() != null){ AjaxRequestTarget.get().appendJavascript(js); } shoudnt be by default? if there is no modal window, it will work too. On Wed, Feb 11, 2009 at 8:27 PM, PY wrote: > > The javascrip

Re: Graphs, Charts and Wicket

2009-02-12 Thread Thies Edeling
Thanks, that worked ! PY wrote: The javascript is done in the SWFObject. To make it work in a Ajax request you need to add : if (AjaxRequestTarget.get() != null){ AjaxRequestTarget.get().appendJavascript(js); } where js is the javascript generated . This

Re: Graphs, Charts and Wicket

2009-02-11 Thread PY
The javascript is done in the SWFObject. To make it work in a Ajax request you need to add : if (AjaxRequestTarget.get() != null){ AjaxRequestTarget.get().appendJavascript(js); } where js is the javascript generated . This will make evaluate the javascript

Re: Graphs, Charts and Wicket

2009-02-10 Thread Thies Edeling
Works nicely but how to initialize the chart when the panel is loaded through an ajax req/res ? Is there a javascript method that writes out the Flash object tag ? That seems to be completely missing. On Mon, Feb 2, 2009 at 10:28 AM, Maarten Bosteels wrote: > Also have a look at > http://cwiki.ap

Re: Graphs, Charts and Wicket

2009-02-07 Thread Sean Sullivan
+1 for JFreeChart. Here's an introductory presentation that I gave in 2005: http://conferences.oreillynet.com/cs/os2005/view/e_sess/6804 Sean On Mon, Nov 17, 2008 at 2:37 AM, James Carman wrote: > > You can check out how I used JFreeChart in one of my Wicket presentations... > > http://svn.c

Re: Graphs, Charts and Wicket

2009-02-04 Thread Jurek Piasek
Here is a simple example of the code that I used to get amchart to work in wicket. I used SWFObject. This is the simplest case where the data is read from a file (not really of much use in a live webpage). If one wants to make on demand plots, one can replace params.put("data_file","amcharts/amxy_

Re: Graphs, Charts and Wicket

2009-02-02 Thread Maarten Bosteels
Also have a look at http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html Maarten On Thu, Jan 29, 2009 at 2:45 PM, newbieabc wrote: > > If you don't mind, could you post your code to display the chart you used? > I was interested the gradient fill chart they offered, but am really new

Re: Graphs, Charts and Wicket

2009-01-29 Thread newbieabc
If you don't mind, could you post your code to display the chart you used? I was interested the gradient fill chart they offered, but am really new to wicket and didn't understand how to add it in wicket. Thanks! Jurek Piasek wrote: > > I have been using Amcharts > > http://www.amcharts.com/

Re: Graphs, Charts and Wicket

2008-11-16 Thread James Carman
You can check out how I used JFreeChart in one of my Wicket presentations... http://svn.carmanconsulting.com/public/wicket-advanced/trunk/src/main/java/com/carmanconsulting/wicket/advanced/web/story10/resource/StudentPerRankChart.java and the resource class itself: http://svn.carmanconsulting.co

Re: Graphs, Charts and Wicket

2008-11-16 Thread Jurek Piasek
I have been using Amcharts http://www.amcharts.com/ together with SWFObject http://cwiki.apache.org/WICKET/creating-a-behavior-to-use-a-javascript-library.html Regards, Jurek On Sun, Nov 16, 2008 at 8:20 PM, Yazbek, Daniel (Daniel) <[EMAIL PROTECTED]>wrote: > Hi all, > > > > I'd like to put s

Graphs, Charts and Wicket

2008-11-16 Thread Yazbek, Daniel (Daniel)
Hi all, I'd like to put some simple bar graphs, pie graphs and possible line graphs into my wicket pages. Have any of you used a good framework that you can recommend, that also plays nicely with Wicket? Thanks! -Daniel.