Results 1 to 2 of 2
  1. #1
    BerilChandra is offline Member
    Join Date
    Apr 2011
    Posts
    1
    Rep Power
    0

    Default JFree chart Exception

    Hi Friends,

    I have copy the code from following link

    "http://www.roseindia.net/chartgraphs/barchart-jsppage.shtml"

    I used NetBeans IDE, and I have add jfreechart.jar also. But, during runtime it raise following error,

    //=================================================
    An error occurred at line: 33 in the jsp file: /index.jsp
    The type org.jfree.util.PublicCloneable cannot be resolved. It is indirectly referenced from required .class files
    30: final ValueAxis valueAxis = new NumberAxis("Run");
    31: renderer = new BarRenderer();
    32:
    33: plot = new CategoryPlot(dataset, categoryAxis, valueAxis,
    34: renderer);
    35: plot.setOrientation(PlotOrientation.VERTICAL);
    36: chart = new JFreeChart("Srore Bord", JFreeChart.DEFAULT_TITLE_FONT,
    //================================================== =


    Help me friends, Thanks a lot in advance.

  2. #2
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,642
    Rep Power
    6

Similar Threads

  1. jsp and jfree charts
    By asad.naqvi in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 12-22-2010, 01:21 PM
  2. using thermometer plot in jfree
    By nitish_coder in forum New To Java
    Replies: 1
    Last Post: 10-07-2009, 06:31 PM
  3. Replies: 2
    Last Post: 02-17-2009, 03:20 PM
  4. Demo bar chart and pie chart
    By Java Tip in forum java.awt
    Replies: 0
    Last Post: 06-23-2008, 11:22 PM
  5. How to draw a bar graph using Jfree
    By sacr83 in forum Java 2D
    Replies: 0
    Last Post: 04-30-2008, 08:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •