hello
what Shape can i use in LegendItem´s constructor?
and who calls the method setDisplaySeriesShapes()?
thanks
LegendItem
LegendItem
[]´s
Cristiano
Cristiano
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
The legend code has been changing a lot recently. In the latest release, the legend should automatically grab the shapes from the renderer, as appropriate. There are one or two bugs still to iron out (some have been fixed in CVS already).
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


hi david
I use version 0.9.21 and I have created a bar chart that has each bar in different color.
However, I tried to do the same in version 1.0 pre2 and I didn´t get because I wasn´t able to use the constructor of LegendItem, due to parameter Shape, I don´t know how to use it.
Please, could you tell me how to use this constructor or how to do this chart?
I read all the manual and don´t know what do.
I use version 0.9.21 and I have created a bar chart that has each bar in different color.
However, I tried to do the same in version 1.0 pre2 and I didn´t get because I wasn´t able to use the constructor of LegendItem, due to parameter Shape, I don´t know how to use it.
Please, could you tell me how to use this constructor or how to do this chart?
I read all the manual and don´t know what do.