Gridlines and chart markers

A discussion forum for the Eastwood Chart Servlet.
Locked
jmcmahon
Posts: 4
Joined: Thu Jan 10, 2008 5:19 pm

Gridlines and chart markers

Post by 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?

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by 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: Support JFree via the Github sponsorship program

ekoegler
Posts: 1
Joined: Thu May 01, 2008 7:30 pm
Location: Columbus Ohio
Contact:

Will text and data line support be added to 1.0.1?

Post by 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. :) )

Locked