PiePlot3D, where did these methods go?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
heijho01
Posts: 12
Joined: Thu Jul 17, 2003 2:16 pm

PiePlot3D, where did these methods go?

Post by heijho01 » Wed Mar 31, 2004 8:38 am

With previous versions of JFreeChart (0.9.16 and older) I was using the following methods:

plot.setShowSeriesLabels(true);
plot.setSectionLabelType(plot.VALUE_AND_PERCENT_LABELS);
plot.setValueFormatString("dagen: ");

Now it seems they are gone ...

Please tell me where those methods are to be found now.

Thanks in advance,

Jeroen

askex2056
Posts: 57
Joined: Tue Aug 05, 2003 3:16 pm
Location: Germany, Munich

Post by askex2056 » Wed Mar 31, 2004 8:55 am

Hi,
check out the

org.jfree.chart.labels.StandardPieItemLabelGenerator

and the

void setLabelGenerator(PieItemLabelGenerator generator)

method in

org.jfree.chart.plot.PiePlot
Regards,

Andreas Schroeder

heijho01
Posts: 12
Joined: Thu Jul 17, 2003 2:16 pm

Post by heijho01 » Wed Mar 31, 2004 9:05 am

many thanks!

Jeroen

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Wed Mar 31, 2004 11:00 am

This change has been made so that the labelling can be customised more easily. A few bugs have been reported already and I'm working on fixing those for the 0.9.18 release which I hope to put out next week.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked