Does XYBlockRenderer support tooltips?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Paul Belleville
Posts: 15
Joined: Wed Nov 07, 2007 6:20 pm

Does XYBlockRenderer support tooltips?

Post by Paul Belleville » Wed Jun 10, 2009 11:56 pm

Does XYBlockRenderer support tooltips? It doesn't seem so. What would I need to do to make that work?

Paul Belleville
Posts: 15
Joined: Wed Nov 07, 2007 6:20 pm

Re: Does XYBlockRenderer support tooltips?

Post by Paul Belleville » Wed Jun 10, 2009 11:59 pm

I'm using 1.0.9 by the way.
thanks

paradoxoff
Posts: 1634
Joined: Sat Feb 17, 2007 1:51 pm

Re: Does XYBlockRenderer support tooltips?

Post by paradoxoff » Thu Jun 11, 2009 2:48 pm

The XYBlockRenderer of 1.0.13 should support entity creation and hence tooltips. The change log for the class states that entity collection code was added 07 Apr 2008. Since 1.0.9 was released earlier, that piece of code is probably missing. You could try to copy the drawItem-method from the current version to your version and recompile.

Paul Belleville
Posts: 15
Joined: Wed Nov 07, 2007 6:20 pm

Re: Does XYBlockRenderer support tooltips?

Post by Paul Belleville » Thu Jun 11, 2009 6:32 pm

Yep, 1.0.13 worked. Thanks

Locked