Hi,
I am currently trying to generate chart by retreiving the data from the oracle database using jsp. Is there any working sample or example which I can look at?
Tried the taglibs from the site but couldn't get the example to work.
Thanks in advance!
HELP!
Urgent : Any sample with JSP and JFreeChart?
RE: Urgent : Any sample with JSP and JFreeChart?
Hi,
I don't have anything available. If someone wants to post something, it would be much appreciated...
Regards,
Dave Gilbert.
I don't have anything available. If someone wants to post something, it would be much appreciated...
Regards,
Dave Gilbert.
RE: Urgent : Any sample with JSP and JFreeChart?
Hi,
I am now trying to configure the jfreechart and the taglibs for developing charts using JSP. However I encountered some problems. I tried to compile the file ChartTag.java from the taglibs.zip but there are 2 errors as follow :
C:\Tomcat\webapps\chart\WEB-INF\classes>javac ChartTag.java
ChartTag.java:39: cannot resolve symbol
symbol : variable VERTICALBAR_TYPE
location: class com.jrefinery.chart.JFreeChart
private String type = JFreeChart.VERTICALBAR_TYPE;
^
ChartTag.java:169: cannot resolve symbol
symbol : method createChart
(java.lang.String,com.jrefinery.chart.DataSource)
location: class com.jrefinery.chart.JFreeChart
JFreeChart chart = JFreeChart.createChart(type, categoryData);
^
Realised that the JFreeChart.java from jfreechart-0.5.6 and the
JFreeChart.java from the taglibs.zip are of different sizes.
I have tried to update the jfreechart.jar with the JFreeChart.java from taglibs.zip but the errors are still there.
What should I do to run the example from the taglibs.zip?
Thanks a lot!
Regards,
HELP!
I am now trying to configure the jfreechart and the taglibs for developing charts using JSP. However I encountered some problems. I tried to compile the file ChartTag.java from the taglibs.zip but there are 2 errors as follow :
C:\Tomcat\webapps\chart\WEB-INF\classes>javac ChartTag.java
ChartTag.java:39: cannot resolve symbol
symbol : variable VERTICALBAR_TYPE
location: class com.jrefinery.chart.JFreeChart
private String type = JFreeChart.VERTICALBAR_TYPE;
^
ChartTag.java:169: cannot resolve symbol
symbol : method createChart
(java.lang.String,com.jrefinery.chart.DataSource)
location: class com.jrefinery.chart.JFreeChart
JFreeChart chart = JFreeChart.createChart(type, categoryData);
^
Realised that the JFreeChart.java from jfreechart-0.5.6 and the
JFreeChart.java from the taglibs.zip are of different sizes.
I have tried to update the jfreechart.jar with the JFreeChart.java from taglibs.zip but the errors are still there.
What should I do to run the example from the taglibs.zip?
Thanks a lot!
Regards,
HELP!