bug(??) report

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

bug(??) report

Post by Pawel Bogaczewicz » Thu Jun 13, 2002 12:36 pm

when i have CategoryDataset when all values are equals 100 i get blank chart. is it feature or is it bug? i've solved it substracting 1 from each value so my final Number[][] array (passed as parameter to DefaultCategoryDataset constructor) is i.e. {{99,99}, {99,99}, {99,99}}...but is any way to draw it correctly (or at least draw :D) without changing data?

David Gilbert

Re: bug(??) report

Post by David Gilbert » Thu Jun 13, 2002 4:53 pm

Which version of the code? What type of chart? I tried it out with a line chart in 0.9.0 and it displays the chart. It also gave me an exception, a small bug that I've squashed now. 0.9.1 will be released tomorrow, but I'd still like to find out more about what is going wrong for you.

Regards,

DG.

Bryan

Re: bug(??) report

Post by Bryan » Fri Jun 14, 2002 12:40 am

DG

I am getting an exception using 0.9.0 with category plots. Can I get some info on what you fixed. Most of the exceptions I am getting are coming from method drawCategoryItem.

Bryan

Bryan

Re: bug(??) report

Post by Bryan » Fri Jun 14, 2002 1:03 am

DG

I had a look at the CVS, and yep it appears that fix is exactly what I need. I am passing null info objects.

NB. I am working on three things at the moment
1. Updating the servlets demo to be version 0.9.0 (this has stopped at the moment waiting for 0.9.1 fix to above)
2. to rework JFreeChartServletDemo to be a copy of JFreeChartDemo where possible (along the lines of what you had already done).
3. including a demo of meterplot, thermometer, and possibly compass(?)
in the demo and servletdemo.

Bryan

Pawel Bogaczewicz

Re: bug(??) report

Post by Pawel Bogaczewicz » Fri Jun 14, 2002 10:46 am

JFreeChart v. 0.8.1, chart VerticalBartChart. i'm trying to downloadjfreechart v 0.9.0 now....i'll tell if in new version it stiil won't work.

David Gilbert

Re: bug(??) report

Post by David Gilbert » Fri Jun 14, 2002 11:23 am

Hi Pawel,

Jump over to SourceForge and grab JFreeChart 0.9.1, just released now:

http://sourceforge.net/projects/jfreechart

Regards,

DG.

Pawel Bogaczewicz

Re: bug(??) report

Post by Pawel Bogaczewicz » Mon Jun 17, 2002 9:44 am

version 0.9.1 works fine, thank You.

Locked