problem in getting from .7.1. to the new version

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
lonelyplanetfr

problem in getting from .7.1. to the new version

Post by lonelyplanetfr » Sun Jun 30, 2002 6:23 pm

Hi,

I would like to update my program with the latest version of JFChart.
I'm currently running the 0.7.1 version
When switching with the new version ( i.e. replacing jcommon-0.... and jfreechart-0.7.1.tar by the new files, and chaging the commandline: am I right ?), i get a NoClassFoundException (cannot find JFreeChartPanel)

Had JFreeChartPanel been removed in the new version ? Am I doing right ?


Thanks for your help !

lonelyplanetfr

a first answer

Post by lonelyplanetfr » Sun Jun 30, 2002 6:47 pm

I think I have found the answer to my question !
JFreeChartPanel now is ChartPanel...
Does it mean that I have to remove all JFreeChartPanel(ssss) from my old code ?
Has something else "changed" (concerning names and properties of dead JFreeChartPanel) ?

David Gilbert

Re: problem in getting from .7.1. to the new version

Post by David Gilbert » Sun Jun 30, 2002 8:38 pm

I'm sorry to say I lose track (a little) of what changes between versions. When JFreeChart reaches version 1.0.0 I will try to freeze the API and use deprecation for any changes that are necessary.

The JFreeChartPanel --> ChartPanel change is mostly just a name change, so you should be able to just change the references in your code. A bigger change is that the dataset has been shifted from the JFreeChart class to the Plot class.

Regards,

DG.

Locked