xtim
Tuesday, January 20, 2004
 
Tracked down the problem with the chart labelling. The text breaking is actually working OK, it's just being given much too small an area into which to fit the text. The calling routine doesn't take account of whether the category labels are perpendicular or parallel to the axis - it always assume's they're parallel, and so gives you axislength / num categories pixels space, which is tiny. Our labels are perpendicular, so that quantity actually corresponds to the height of the labels.

It's going to be a little involved to fix this, but I've tested it with a hardcoded value and the results look worth it. I'll concentrate on getting it to work with horizontally-labelled vertical axes and generalise if it turns out that we need it. I've got both jars building now and debug code in them so we can change whatever we need. If the fix looks generally useful I'll submit it to the maintainers.

Also got to fix an anomaly reported by Claire, which is that the client names on our stats pages don't match their system names if the latter have been updated.

Will additionally modifiy section id handling on the XML site so that users never have to think about it and can just us hand us the secid unmnodified from the result page to the entry page. At the moment they may need to add an extra hyphen to reproduce our site behaviour. Will document the system once I've changed this. I don't want to change it today because I want to ensure we've not overlooked any new weirdness introduced by the site software update.

T
Comments: Post a Comment

<< Home

Powered by Blogger