LegendItem

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
cris-rj
Posts: 16
Joined: Mon Oct 11, 2004 2:44 pm
Location: rio de janeiro, brazil

LegendItem

Post by cris-rj » Tue Apr 26, 2005 3:14 pm

hello

what Shape can i use in LegendItem´s constructor?

and who calls the method setDisplaySeriesShapes()?

thanks
[]´s
Cristiano

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 » Wed Apr 27, 2005 5:58 pm

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

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

Guest

Post by Guest » Thu Apr 28, 2005 6:41 pm

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.

cris-rj
Posts: 16
Joined: Mon Oct 11, 2004 2:44 pm
Location: rio de janeiro, brazil

Post by cris-rj » Thu Apr 28, 2005 6:47 pm

Sorry, I wasn´t logged.
[]´s
Cristiano

Locked