开发者

Problem implementing JFreeChart

DefaultPieDataset myColoredPieChart = new DefaultPieDataset();                
     myColoredPieChart.setValue("Java", 12.9);    
     .......
     or开发者_开发百科g.jfree.chart.JFreeChart myColoredChart=ChartFactory.createPieChart("Programming - Colored Pie Chart Example",myColoredPieChart,true,true,false);    

I get a error "The type org.jfree.util.PublicCloneable cannot be resolved. It is indirectly referenced from required .class files"

Anyone a idea how to fix it?


JFreeChart is packaged as multiple jar files; you're probably not including all of them in your program. The one named jcommon-XXX.jar contains the class that's missing, so be sure to inclide that one in your program.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜