Search found 5 matches

by ntherning
Wed Jul 02, 2008 9:02 am
Forum: Eastwood Chart Servlet
Topic: Custom font and font size
Replies: 2
Views: 10790

The patch has been committed. Here's an example of how to use it: <servlet> <servlet-name>chart</servlet-name> <servlet-class>org.jfree.eastwood.ChartServlet</servlet-class> <init-param> <param-name>fontResource</param-name> <param-value>/WEB-INF/verdana.ttf</param-value> </init-param> <init-param> ...
by ntherning
Wed Jul 02, 2008 8:22 am
Forum: Eastwood Chart Servlet
Topic: Support for 'chg' (step size and line style for grid lines)
Replies: 4
Views: 14235

Done!
by ntherning
Wed Jul 02, 2008 8:13 am
Forum: Eastwood Chart Servlet
Topic: Support for 'chg' (step size and line style for grid lines)
Replies: 4
Views: 14235

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.
by ntherning
Mon Jun 30, 2008 1:03 pm
Forum: Eastwood Chart Servlet
Topic: Support for 'chg' (step size and line style for grid lines)
Replies: 4
Views: 14235

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

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 ch...
by ntherning
Mon Jun 30, 2008 10:06 am
Forum: Eastwood Chart Servlet
Topic: Custom font and font size
Replies: 2
Views: 10790

Custom font and font size

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...