0

I have a pie chart with legend on the right side. Legend's labels consist of name and value. Currently I format legend labels as "{0} {1}". What I need actually, that values don't just follow the names, but will be placed in own column. It is like a table layout, where names are in first column and values in second one.

I checked documentation but couldn't figure out.

Alex K
  • 22,315
  • 19
  • 108
  • 236
testuser
  • 668
  • 10
  • 23
  • Possible [duplicate](http://stackoverflow.com/q/13307500/230513). – trashgod Feb 12 '15 at 19:29
  • @trashgod thanks for response, but I am looking to display one legened item in 2 columns like "name - value", name in one column and value in other column. I am not looking to display two legend items in one row. – testuser Feb 13 '15 at 15:04
  • Seems possible; where are you stuck? – trashgod Feb 13 '15 at 21:55
  • I stuck at creating layout for each legend items. I am trying to show legend with table structure, percentages right aligned and labels left aligned. Is there a way I could provide a table layout for each legend item? Gridlayout works for arranging the legend items, but I am looking how to arrange inside the legenditem – testuser Feb 13 '15 at 22:04
  • http://stackoverflow.com/questions/28507357/jfree-chart-how-to-right-align-the-content-inside-the-legend this is what I am trying to do – testuser Feb 13 '15 at 22:05

0 Answers0