Hello Ryan, I have just added some more code to the wiki page, and a working quickstart project.
http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html My OpenFlashChart implementation is almost exactly the same as yours. Only differences I found: * You use an *ofc4j.model.Chart* as model, and I use a plain String. Using the Chart itself as model is cool, because then you could change the chart on-the-fly. Unfortunately Chart is not serializable and I get WicketNotSerializableException's. I will update my code and the quickstart as soon as I get rid of these exceptions. * Your constructor takes width and height but they're not used :-) * I don't call swf.setParam( "allowScriptAccess", "sameDomain" ); It doesn't seem to be necessary ? It's only two classes, so I am not sure it's 'big' enough to add to wicket-stuff ? Perhaps it could be added to minis ? Maarten On Fri, Dec 5, 2008 at 6:38 PM, Maarten Bosteels <[EMAIL PROTECTED]>wrote: > Oops, just started working on it :-) > Will see if I can add somet more info to the wiki page. > > Maarten > > > > On Fri, Dec 5, 2008 at 5:57 PM, Ryan McKinley <[EMAIL PROTECTED]> wrote: > >> I just started one with the implementation I have.... we can make it >> better, or perhaps add it to wicketstuff... >> >> http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html >> >> >> >> On Nov 5, 2008, at 3:59 PM, Thies Edeling wrote: >> >> Maarten Bosteels wrote: >>> >>>> I have a similar requirement and played a bit with Open Flash Charts. >>>> [1] >>>> It took little effort to integrate wicket + ofc4j [2] + swfobject [3] >>>> >>>> [1] http://teethgrinder.co.uk/open-flash-chart-2/glass-bar-chart.php >>>> [2] http://code.google.com/p/ofcj/ >>>> [3] http://code.google.com/p/swfobject/ >>>> >>>> Another requirement was that the user could drag and drop charts around >>>> on >>>> the page (à la iGoogle) so I tried something like >>>> http://interface.eyecon.ro/demos/sort.html but that failed miserably: >>>> half >>>> the time the charts wouldn't show up correctly after dragging them >>>> around. >>>> I still have to find out if I can solve this somehow. All pointers are >>>> welcome. >>>> >>>> Anyway, if you're interested, I can create a wiki page showing the >>>> wicket + >>>> ofc4j + swfobject integration. >>>> >>>> Wiki page would be nice, those open flash charts look a lot better than >>> the jfreechart images. >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >
