Hi,
First, I think your library very userfull, I think it's probably the
best free tool of this kind.
I saw that the axis auto-range calculation bug was corrected since 0.5.5.
Does it include the case where an implementation of XYDataSource has no serie (0 serie)? In this case i get an ArrayIndexOutOfBoundException in the VerticalNumberAxis class.
axis auto-range calculation
RE: axis auto-range calculation
Thanks for the feedback.
I haven't got access to the code right now, but I suspect this is a bug. When I wrote the XYDataSource interface I didn't really think about having zero series because the application that I use JFreeChart in never tries to do this.
I guess the correct behaviour is to draw a blank chart...so I'll fix it for the next version.
Regards,
DG.
I haven't got access to the code right now, but I suspect this is a bug. When I wrote the XYDataSource interface I didn't really think about having zero series because the application that I use JFreeChart in never tries to do this.
I guess the correct behaviour is to draw a blank chart...so I'll fix it for the next version.
Regards,
DG.
RE: axis auto-range calculation
Hi,
I use JFreeChart for a personal project.
Because I think you're too busy to do this in few days and I don't want to wait more, I can fix the bug by myself. Could you help me to fix it or is it too difficult to be done by someone other than you ?
I use JFreeChart for a personal project.
Because I think you're too busy to do this in few days and I don't want to wait more, I can fix the bug by myself. Could you help me to fix it or is it too difficult to be done by someone other than you ?
RE: axis auto-range calculation
Hi,
I send a fix for this bug to David. If you want it without waiting for
the next release, send me a mail.
I send a fix for this bug to David. If you want it without waiting for
the next release, send me a mail.