Dynamic Vertical Bar Chart
Dynamic Vertical Bar Chart
I am running JFreeChart as an applet and supplying data from an Oracle database. Recently some of the charts had all the bars on the chart exactly the same height and no bars plotted. The resultant chart was blank. I'm using the constructor in DefaultCategoryDataSource that accepts series and category names. Does anyone have any ideas why this might be true. I'm new to Java programming so may be making some simple mistake.
RE: Dynamic Vertical Bar Chart
...Recently some of
the charts had all the bars on the chart exactly the same height and no bars plotted....
HI
Which one is it ? Did all the bars on the chart were exactly the
same height OR there were no bars at all ?
Which JFreechart version are you running? There were some problems in the past,
as I recall, that were popping up when all of the values for the
bar plot were the same.
Andrew
the charts had all the bars on the chart exactly the same height and no bars plotted....
HI
Which one is it ? Did all the bars on the chart were exactly the
same height OR there were no bars at all ?
Which JFreechart version are you running? There were some problems in the past,
as I recall, that were popping up when all of the values for the
bar plot were the same.
Andrew
RE: Dynamic Vertical Bar Chart
I'm using jfreechart-0.5.4 and I modified JFreeChartDemo to make it into an applet. I'm running the applet from within a PLSQL program off an Oracle web server and feeding the applet with parameters extracted from and Oracle database using SQL select.
RE: Dynamic Vertical Bar Chart
Hi Jim,
This problem was fixed in version 0.5.5 and is hopefully still fixed in the current version (0.5.6).
Regards,
DG.
This problem was fixed in version 0.5.5 and is hopefully still fixed in the current version (0.5.6).
Regards,
DG.
RE: Dynamic Vertical Bar Chart
I'm using jfreechart-0.5.6. If I reset categories, I had all the bars on the chart exactly the same height except the first bar and the last bar.