setMaximumLabelWidth

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
mFree
Posts: 1
Joined: Sun Nov 20, 2011 4:41 pm
antibot: No, of course not.

setMaximumLabelWidth

Post by mFree » Sun Nov 20, 2011 4:52 pm

Hi everyone!

I'm in trouble to understand the purpose of this method(setMaximumLabelWidth(double width)) in PiePlot class. The documentation tells the following: It sets the maximum label width (as a percentage of the plot width). When I set it to 0, it seems like nothing happened, the same for 0.1, when I enter some higher values(0.2, 0.3, etc.), the chart is decreasing in size, while the labels remain the same size. I thought it was supposed to control the width of labels, not the size of the pie. Can somebody explain it to me? Many thanks!

Locked