From: Vikram R. <vr...@st...> - 2003-05-05 09:35:17
|
In some examples in the user there is a reference to a class 'AxisCharts' and its two members 'width' and 'height'. This class seems to be non-existent. Is this from an older version of jCharts? The user guide will need to be updated for the same. Vikram ----- Original Message ----- From: "Nathaniel G. Auvil" <nat...@ya...> To: "Vikram Rajan" <vr...@st...>; "jCharts User List" <jch...@li...> Cc: "Developers jCharts" <jch...@li...> Sent: Friday, April 18, 2003 5:39 PM Subject: Re: [jCharts-users] Dependency on JDK 1.4 > > Yeah, we should remove these and keep the src runnable under 1.3 > > There is code in there which requires 1.4.x to compile though. The image encoders use jdk 1.4.x > specific code. But you can still run with 1.2 or 1.3 if you use the xxx13 encoder. > > > > > --- Vikram Rajan <vr...@st...> wrote: > > There are portions of code which are dependent on JDK 1.4 but have not been documented in the > > javadocs. I found this when I was implementing the unfinished usePercentSigns in the AxisChart > > class. > > > > The places in the code which I found to be 1.4 dependent are: > > > > Legend.java (line 238) - Boolean.valueOf(boolean) is not implemented in JDK 1.3 > > ------------ this.fillPointsFlags.add( Boolean.valueOf( pointChartProperties.getFillPointsFlag( > > i ) ) ); > > > > ChartDataException.java (line 53) - The Exception constructor used is specific to JDK 1.4 > > ------------ super( message, throwable ); > > > > BarChartProperties.java (line 102) - Boolean.toString() is not implemented in jdk 1.3 > > ------------ htmlGenerator.addTableRow( "Show Outlines", Boolean.toString( this.showOutlines ) > > ); > > > > I think these should be documented as such. If possible be changed to be JDK 1.3 compatible. All > > of these can be changed slightly make them so (except the ChartDataException constructor, I dont > > know how critical constructing an exception in that fashion is). > > > > - Vikram > > > ===== > > > __________________________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo > http://search.yahoo.com > |