Gridlines and chart markers

A discussion forum for the Eastwood Chart Servlet.

Gridlines and chart markers

Postby jmcmahon » Fri Jan 11, 2008 8:29 pm

I've noticed that eastwood doesn't seem to produce chart markers and gridlines like the google api.

I can see in the code that grindlines section is incomplete but it looks like the marker section has some implementation. Are markings working and if so how do I use them?

Thanks.

EDIT: Looking at it some more, I see that only range markers are implemented. Are you working on the other ones as well?
jmcmahon
 
Posts: 4
Joined: Thu Jan 10, 2008 5:19 pm

Postby david.gilbert » Tue Jan 15, 2008 4:57 pm

A couple of features are missing (mentioned in the README.txt file). I'd like to fill in these gaps in the next release (1.0.1) if possible. Patches are welcome.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Ask your company to buy the JFreeChart Developer Guide
:idea: Check out other products sold by my company Object Refinery Limited
david.gilbert
JFreeChart Project Leader
 
Posts: 11653
Joined: Fri Mar 14, 2003 10:29 am

Will text and data line support be added to 1.0.1?

Postby ekoegler » Thu May 01, 2008 7:36 pm

Hi David, I've been looking through the source code for the servlet, and started updating it to support the additional CHM values google added to their API. The chart I would like to produce via Eastwood will look like this:
Code: Select all
src=chart.apis.google.com/chart?chs=650x300
&chd=t:30,38,38,57,62
&cht=bvg
&chl=1%2f5%2f2008|1%2f15%2f2008|2%2f08%2f2008|2%2f20%2f2008|3%2f5%2f2008
&chds=0,100
&chg=20,10
&chbh=100,20,25
&chco=A2E1E1
&chxt=y
&chxr=0,0,100
&chxl=1:0|100
&chm=D,FF0000,0,0,3,0|t30%25,000000,0,0.0,20,1|t8%25,FF0000,0,0.5,20,1|t38%25,000000,0,1.0,20,1|t0%25,FF0000,0,1.5,20,1|t38%25,000000,0,2.0,20,1|
t19%25,FF0000,0,2.5,20,1|t57%25,000000,0,3.0,20,1|t5%25,FF0000,0,3.5,20,1|t62%25,000000,0,4.0,20,1|r,F5F8F8,0,0.3,0.62
&chtt=Total+Gain+32%25
&chdl=test+score" alt="google chart"




I was curious if you were going to add the "D" and "t*" processing in this patch. If not, I'd be happy to send you my patched code (assuming I get it working of course. :) )
ekoegler
 
Posts: 1
Joined: Thu May 01, 2008 7:30 pm
Location: Columbus Ohio


Return to Eastwood Chart Servlet

Who is online

Users browsing this forum: No registered users and 1 guest