tool tips in area charts?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Don Mitchell

tool tips in area charts?

Post by Don Mitchell » Thu Feb 06, 2003 2:10 am

I'm unable to get tool tips and urls to work with 0.9.4 when I use a category dataset and do either an area chart or a stacked area chart. The area chart generates an image map, but the coordinates are are rectange and thus don't match the areas. For the stacked area, the image map is basically empty.

Things work if I use a line chart, bar chart, or stacked bar chart. I'm using the StandardCategoryToolTipGenerator and the StandardCategoryURLGenerator.

Any ideas?

Thanks,
Don

David Gilbert

Re: tool tips in area charts?

Post by David Gilbert » Thu Feb 06, 2003 4:52 pm

The area chart has been modified in 0.9.5 so that the tooltip region is the same as the polygon making up the area under the data point. I didn't look at the stacked area renderer, so it may still need modifying.

Regards,

Dave Gilbert

Locked