Custmizing Legends in table format

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
sayan_maity
Posts: 15
Joined: Tue Feb 13, 2007 9:29 am

Custmizing Legends in table format

Post by sayan_maity » Tue Feb 27, 2007 3:32 pm

I need to show the legend values in table formart.
Is there any way to to do this?
Thanks in advance.

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 » Tue Feb 27, 2007 5:40 pm

There's no code in JFreeChart that is going to do this for you. You really have two alternatives:

(1) Write a custom legend class;

(2) Use the LegendTitle class with custom Arrangement instances (passed in via the constructor). The intention is that you can control the layout of the items in the legend...in practice, though, this facility is not well tested (or documented).
David Gilbert
JFreeChart Project Leader

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

sayan_maity
Posts: 15
Joined: Tue Feb 13, 2007 9:29 am

Post by sayan_maity » Wed Feb 28, 2007 4:14 am

Thank you david for the help. I will try that one and let you know.

se
Posts: 3
Joined: Wed Aug 20, 2008 4:16 am

Post by se » Mon Aug 25, 2008 3:37 am

Hi,

Did you find a way to show the legend values in table format?

thanks

Locked