Hello
I figured out how to make a PieChart label display something like this:
Java (5%)
Ruby(2%)
Python(3%)
similar to PieChartDemo2 in the JFreeChart demo.
How can I add an arbitrary String to the label, for example:
Java (5%) Of All Programmers
How can I add "Of All Programmers" ?
best wishes
Claus
How to change Label of PieCharts ?
E.g.
Code: Select all
final StandardXYItemLabelGenerator generator = new StandardXYItemLabelGenerator("{1} % Of All Programmers", NumberFormat.getInstance(), NumberFormat.getInstance());
Java 11, JFreeChart 1.0.15, JFreeSVG 4.0