pieplot.setLabelOutlinePaint(new Color(255,255,255));
pieplot.setLabelShadowPaint(new Color(255,255,255));
pieplot.setLabelGenerator(new StandardPieSectionLabelGenerator(""));
不知道这样能不能满足你的要求
pieplot.setLabelShadowPaint(new Color(255,255,255));
pieplot.setLabelGenerator(new StandardPieSectionLabelGenerator(""));
不知道这样能不能满足你的要求
解决方案 »
- java测试题 跪求解答!!
- 简单框架第五步:
- 请问如何解决oracle blob字段 的乱码问题?
- tomcat 的疑问
- 关于action得到前台动态循环出的值!!!!!!!!!!!!!!!!!!!!!!!
- Web Service炒菜级问题(HelloWord)Java语言:过路的奶牛进来啊!!
- MultiActionController对绑定command的验证
- 配置环境变量的困惑
- soap request的参数无法发送
- Java的安全方面的知识该怎么学呀?一堆概念,怎么办救命呀!!!!!!!!!!!!!!!!!!!!!!
- jfreechart setSectionPaint(java.lang.Comparable key, java.awt.Paint paint)设置图表分类颜色的问题
- hibernate在spring中的配置问题
直接plot.setLabelGenerator(null);就可以了。还昏了好久
谢谢上面的兄弟。
现在的问题时,如何把底部的Legend标签不显示。我用chart.clearSubtitles();或chart.removeSubtitles();
Legend标签不会显示,可是饼图上的色块颜色就不规律了。
寻找解决方法,请朋友们继续支持。
JFreeChart chart = ChartFactory.createPieChart("xxxxx图",
data,
true, // 是否显示图例
false,
false
);
现在自定义色块颜色。又有问题,请看新帖http://topic.csdn.net/u/20070930/10/c985447a-4cda-404d-abc9-fa3d2056a5a1.html?seed=760780904