A few jCharts Bugs

Norman Franke <[email protected]> Fri, 22 Jun 2007 11:48:10 -0400
Newsgroups gmane.comp.krysalis.jcharts.user
Message-ID <[email protected]>
Is anyone supporting jCharts?

I found two bugs:

1. If you call setAxisTitleChartFont to a much larger size, e.g. 24  
pt, it's easy to see that it's not calculating the width properly.  
Seems it's using the value from setTitleChartFont to calculate the  
width of the Axis Title, which is in correct. (i.e. setTitleChartFont  
is used to calculate the width for centering, but  
setAxisTitleChartFont is used when rendering.)

2. I have a simple bar chart with 40 bars (arranged as vertical  
bars.) The issue is that the label isn't printed for the last bar  
only, all of the others have a label. Increasing the padding to 10 px  
seemed to fix it, but it sounds like a calculation is off by one.

-Norman




-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/