Customizing Pie Chart Legend Label Alignment

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Post Reply
yasaswini.i
Posts: 1
Joined: Fri Aug 20, 2010 4:59 pm
antibot: No, of course not.

Customizing Pie Chart Legend Label Alignment

Post by yasaswini.i » Fri Aug 20, 2010 5:36 pm

Is there any way to set the width/alignment of legend label for Pie chart.
For exmple I want to display Legend labels like this

Enterprise.............60%
Industry................20%
App.....................20%

I tried overwriting PieSectionLabelGenerator's generateSectionlabel()..But the right alignment is not proper when we see as image.
Your quick support is appreciated.

Post Reply