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.
DefaultXYDataSource not in V0.7.1
RE: DefaultXYDataSource not in V0.7.1
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.
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.
RE: DefaultXYDataSource not in V0.7.1
Thanks,
I had included the JCommon, so I just changed the name to DefaultXYDataset as you suggested and it works fine. Thanks!
I had included the JCommon, so I just changed the name to DefaultXYDataset as you suggested and it works fine. Thanks!
RE: DefaultXYDataSource not in V0.7.1
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.
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.
RE: DefaultXYDataSource not in V0.7.1
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.
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.