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_data.xml")
with params.put("chart_data",xmlData) where xmlData is the xml containg the
data.
Additional controls, such as the type of points, width of the lines, etc.
can be set using
params.put("additional_chart_settings", xmlSettings);
If you have any questions, please let me know.
Regards,
Jurek.
On Thu, Jan 29, 2009 at 8:45 AM, newbieabc <[email protected]> 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 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/
> >
> > 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 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.
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Graphs%2C-Charts-and-Wicket-tp20532374p21727142.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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]