rvintoniak / charts4j

Automatically exported from code.google.com/p/charts4j
Other
0 stars 0 forks source link

Support for JfreeChart Eastwood #30

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I want to use the google chart api compatible implementation from
jfreechart called eastwood. See http://www.jfree.org/eastwood/ 
Therefore it is needed to be able to set the url in the ParameterManager.
But the String url is final and there is no getter/setter for that nor is
the ParameterManager accessible.

I made a smallish hack to enable this but im not able to build the
charts4j-gwt.jar as your modifikations are not in trunk currently.

So please review my modifications.

Thanks for this work as it works even in a gwt project of mine perfect.

Greetings

Stefan

Original issue reported on code.google.com by stefan.m...@gmail.com on 14 May 2009 at 7:14

Attachments:

GoogleCodeExporter commented 8 years ago
I was aware of Eastwood, but I did not know it supported the same URL parameter
structure as the GCA. Hmmm... very interesting. OK, so what is needed is to 
support
URL endpoint configurability. This should be doable. If this actually works it 
could
theoretically supply a unified API to both JFreeChart Eastwood and GCA. Wow. It 
is
definitely worth a try. 

Original comment by Julien.C...@gmail.com on 14 May 2009 at 10:06

GoogleCodeExporter commented 8 years ago

Original comment by Julien.C...@gmail.com on 14 May 2009 at 10:07

GoogleCodeExporter commented 8 years ago
Last time I checked Eastwood - almost a year ago - it was somehow incomplete. 
Meaning
it didn't support all chart types nor was it able to decode and render all URLs 
of
the chart types it supported.

Original comment by Dieter.K...@googlemail.com on 14 May 2009 at 10:40

GoogleCodeExporter commented 8 years ago
Ask, and Ye Shall Receive.

Added the desired configurability on the trunk. Still needs to be ported to gwt
client-side. That will be coming soon.

Dieter: Worth a try anyway. It all depends on what happens to Eastwood when it 
sees a
parameter it does not know. Does it barf? Will it ignore it and recover 
somehow? We
shall see.

Original comment by Julien.C...@gmail.com on 14 May 2009 at 11:22

GoogleCodeExporter commented 8 years ago
Sure. I didn't try to discourage including Eastwood. Maybe they fixed a lot of 
stuff
in the meantime so everything will run smoothly.

Original comment by Dieter.K...@googlemail.com on 15 May 2009 at 12:06