Hi Julien,

thank you for that quick reply.

I guess I need to clarify that I want to use charts4j from the client
side of GWT (no MVC yet). For all the Java-Code that is used on the
client, GWT needs the source code the generate JavaScript. And the
error message that I get ("No source code is available for type ...")
indicates that the source code for charts4j can not be found although
I added it to the charts4j.jar.

I guess you're right that this is no charts4j problem in particular
but a GWT problem in general. But since this is the library I want to
integrate I was wondering if somebody ever got this to work
successfully.

Regards
Michael

On Feb 16, 4:49 pm, JMan <[email protected]> wrote:
> Hi Micha.
>
> I have not played around with the GWT. However, ultimately, the
> charts4j is simply a  small Java library that produces a Google Chart
> API URL string 
> (ex:http://chart.apis.google.com/chart?cht=p3&chd=t:60,40&chs=250x100&chl...World).
> There is nothing special about it or GWT specific. As a result,
> charts4j can work in any Java environment -- as long as you are
> connected  to the Internet.
>
> Embed those URLs in an image tag and you are done -- however you do
> that in GWT. In Model-View-Controller parlance, build the URLs in the
> GWT model, and display them in the GWT view.
>
> This question comes up a lot, so I will try to provide an example in
> the next few weeks.
>
> -Julienhttp://charts4j.googlecode.com
>
> On Feb 16, 2:59 am, micha <[email protected]>; wrote:
>
> > Hi,
>
> > i'd like to know if someone ever successfully tried to integrate the
> > charts4j library into a GWT project? I always get the error "No source
> > code is available for type ..." when using any class from charts4j. I
> > already created a jar file that contains both .class and .java files
> > but that didnt help.
>
> > Any help is highly welcome.
> > Michael
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Chart API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-chart-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to