Using a gif for a legend item?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
chausberger
Posts: 7
Joined: Sat Sep 01, 2007 4:19 pm

Using a gif for a legend item?

Post by chausberger » Thu Mar 27, 2008 10:02 am

Hello

is it possible to use gif images as items in the legend?
I search all the api docs and dev guide and can't find anything. Maybe I've just overlooked it.

Claus

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 » Thu Mar 27, 2008 2:41 pm

No, it isn't supported. Did you want the image to represent the entire legend item, or does it need to have text appended to it also?
David Gilbert
JFreeChart Project Leader

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

chausberger
Posts: 7
Joined: Sat Sep 01, 2007 4:19 pm

Post by chausberger » Fri Mar 28, 2008 9:17 am

Currently there are only plans to add a small gif, but no text.

Claus

chausberger
Posts: 7
Joined: Sat Sep 01, 2007 4:19 pm

Post by chausberger » Fri Mar 28, 2008 4:00 pm

is it possible to extend a class (or several classes) like LegendTitle and to overwrite some methods so that an image can be included?

what classes and methods do I have to extend and overwrite?

Claus

Locked