I need to show the legend values in table formart.
Is there any way to to do this?
Thanks in advance.
Custmizing Legends in table format
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
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).
(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
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


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