所述
MessageFormatArgumentIndex 值对应于 系列名 , 域 和 范围
。您可以为基础中的每个系列或所有系列设置不同的生成器。
PiePlot plot = (PiePlot) chart.getPlot();plot.setLabelGenerator(new StandardPieSectionLabelGenerator("{0} {1} {2}"));附录:对于
PiePlot,值的含义略有不同- 系列名称 , 值 和 百分比 。

所述
MessageFormatArgumentIndex 值对应于 系列名 , 域 和 范围
PiePlot plot = (PiePlot) chart.getPlot();plot.setLabelGenerator(new StandardPieSectionLabelGenerator("{0} {1} {2}"));附录:对于
PiePlot,值的含义略有不同- 系列名称 , 值 和 百分比 。