add custom URLs to chart legend

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

add custom URLs to chart legend

Post by Nan Guo » Sat Mar 01, 2003 12:43 am

Hi,
I would like to add URL to chart legend items (I am interested in the pie chart most) and generate imagemap for them, so the chart legends also have drill-down capabilities with these custom URLs.

Is there any code/example I can refer to? What is the best way to do this?

You help is greatly appreciated.

Nan

David Gilbert

Re: add custom URLs to chart legend

Post by David Gilbert » Tue Mar 04, 2003 10:20 am

Hi Nan,

The URL generation only applies to data entities within the chart so far. Eventually it will be extended to cover other entities such as chart titles, axis labels, the legend, annotations and anything else that might make sense...

Regards,

Dave Gilbert

Locked