JFreeChart円グラフキャンセル図のラベル
480 ワード
//
JFreeChartchart=ChartFactory.createPieChart3D(title,data,true,false,false);
PiePlotplot=(PiePlot)chart.getPlot();
plot.setLabelGenerator(null);//
plot.setIgnoreZeroValues(true);// 0
// : ,{0} ,{1} ,{2}
plot.setLegendLabelGenerator(newStandardPieSectionLabelGenerator("{0}={1}({2})",NumberFormat.getNumberInstance(),newDecimalFormat("0.00%")));