Tooltips without Labels/ImageMap

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
phantom512
Posts: 6
Joined: Thu Aug 19, 2004 10:41 am

Tooltips without Labels/ImageMap

Post by phantom512 » Fri Aug 27, 2004 6:12 am

Hi, is there a way to display tooltips in a Pie3D chart without showing labels or incorporating an imagemap? I do not wish to clutter up the chart area with labels and while I can set the imagemap to link to the current page itself, I would prefer to be able to display the chart via a JSP which shows only tooltips when the user moves the mouse cursor over one of the Pie sections. Any help is greatly appreciated.

Steve
Posts: 53
Joined: Mon Dec 22, 2003 8:29 pm

Post by Steve » Fri Aug 27, 2004 3:06 pm

With displaying the image through a browser (JSP) it's impossible to display sectional tooltips without an image map.

You can however, remove the labels.
Just set the label generator as such:

Code: Select all

plot.setLabelGenerator(null);

Locked