xtim
Thursday, January 15, 2004
 
Spent the rest of yesterday hooking up charting for dtables. I'm using the jfreechart toolket, which seems excellent. There's an oddity with the way it draws axis labels, but it's open-source (yay!) so I can get in there and tweak it to xrefer's own ends. You can now populate and sort your dynamic table, then hit a link at the bottom of the page to chart it. The first column is used for x-axis labels and all numeric columns are charted. The server prepares a jpg and this is sent from a jsp.

Because we're using jserv rather than tomcat, our servlet classes are several versions out of date. This means we can't rely on the jfreechart auto-deletion of temporary files - something to handle manually. Could be worth re-testing tomcat now that it's more mature. When we last looked at it (in about 2002) it just couldn't handle the load jserv manages.

T
Comments: Post a Comment

<< Home

Powered by Blogger