DefaultXYDataSource not in V0.7.1

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

DefaultXYDataSource not in V0.7.1

Post by Marilyn Linton » Sun Jan 27, 2002 4:10 am

Hello,
I had been using Version 0.5.6 and have just downloaded Version 0.7.1.
I had been using DefaultXYDataSource. It doesn't seem exist in the new version. What should I use instead?
Thank-you.

David Gilbert

RE: DefaultXYDataSource not in V0.7.1

Post by David Gilbert » Sun Jan 27, 2002 9:08 am

Hi Marilyn,

I moved all the dataset classes into the JCommon class library. The JFreeChart download includes the JCommon runtime jar file - if you need the source (recommended) you can download JCommon separately.

And also I changed the name to DefaultXYDataset...

Regards,

DG.

Marilyn Linton

RE: DefaultXYDataSource not in V0.7.1

Post by Marilyn Linton » Sun Jan 27, 2002 8:51 pm

Thanks,
I had included the JCommon, so I just changed the name to DefaultXYDataset as you suggested and it works fine. Thanks!

Ron

RE: DefaultXYDataSource not in V0.7.1

Post by Ron » Thu Jan 31, 2002 4:19 pm

David,

Don't you think it's somewhat dangerous to change class names for a new release? Imagine Sun changing the Integer class name to Int instead. You'd be frustrated having to rework all your code. That's how I'm feeling now that I can't just easily upgrade JFreeChart from 0.5.6 to 0.7.1 without changing my code. You should allow for an upgrade path and/or document what changes have occurred in the new release so it'd be easier to upgrade source code too.

David Gilbert

RE: DefaultXYDataSource not in V0.7.1

Post by David Gilbert » Thu Jan 31, 2002 7:49 pm

Hi Ron,

No, not dangerous, but certainly inconvenient for anyone who is relying on the API to stay constant (which you shouldn't before version 1.0.0 is released).

If you have finished updating your code, you probably know as much as I do about the differences in the API between 0.5.6 and 0.7.1...how would you like to write some documentation describing the differences, which I can make available from the JFreeChart website (or you can put it up on your own site). I'm sure other developers would appreciate it...

Regards,

DG.

Locked