Support for 'chg' (step size and line style for grid lines)

A discussion forum for the Eastwood Chart Servlet.

Support for 'chg' (step size and line style for grid lines)

Postby ntherning » Mon Jun 30, 2008 1:03 pm

I've just committed better support for the 'chg' parameter. X and Y step size can now be specified for line charts and bar charts (only Y step size is supported for bar charts). Furthermore, the line segment and blank segment lengths can also be specified.

Use the link below to have a look at the changes I've made (NOT clickable since I don't seem to have the right to post links yet):

http ://eastwood.svn.sourceforge.net/viewvc/eastwood?view=rev&revision=20

Please let me know if there is any problem with this new code.

/Niklas
ntherning
 
Posts: 5
Joined: Fri Jun 27, 2008 10:30 am

Postby david.gilbert » Tue Jul 01, 2008 7:57 am

Hi Niklas,

The patch looks fine - thanks for adding it! There's some itemLabelPosition code in your new createBarChart() method in the ChartEngine class...does this get used?

Regards,

Dave
david.gilbert
JFreeChart Project Leader
 
Posts: 11653
Joined: Fri Mar 14, 2003 10:29 am

Postby ntherning » Wed Jul 02, 2008 8:13 am

I copied the itemLabelPosition stuff from ChartFactory.createBarChart(). I don't know enough about JFreeChart to be able to tell whether it is necessary or not. But the test charts seem to render perfectly without it. I'll remove it.
ntherning
 
Posts: 5
Joined: Fri Jun 27, 2008 10:30 am

Postby ntherning » Wed Jul 02, 2008 8:22 am

Done!
ntherning
 
Posts: 5
Joined: Fri Jun 27, 2008 10:30 am

Re: Support for 'chg' (step size and line style for grid lin

Postby zain123 » Sat Oct 25, 2014 7:22 am

Hi,

I have patched Eastwood to be able to specify my own font. I've done this using servlet init-params. The user can either specify a TTF file containing the font or give the name of a font to be used instead of the default Dialog font. The default font size is also configurable using an init-param.

I'd like to add this to Eastwood. What do you think?
Sign 300-101 latest exam dumps with getting incredible online ICDL courses.
zain123
 
Posts: 1
Joined: Sat Oct 25, 2014 7:11 am


Return to Eastwood Chart Servlet

Who is online

Users browsing this forum: No registered users and 1 guest