Code: Select all
PiePlot plot = (PiePlot) piechart.getPlot();
plot.setLabelGenerator( new StandardPieItemLabelGenerator("{0} - {2}"));
Code: Select all
javax.servlet.ServletException: org.jfree.chart.labels.StandardPieItemLabelGenerator.(Ljava/lang/String;)V
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:536)
at org.apache.jsp.JobStatusChart_jsp._jspService(JobStatusChart_jsp.java:175)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[yadda-yadda]