Image map options for axis labels?

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

Image map options for axis labels?

Post by Kevin » Mon Dec 16, 2002 8:19 pm

Is it possible using the tools given in jfreecharts to create a graph with the x-axis and y-axis labels clickable.

For example, I am using a time series graph to show activity. If there is a lot of activity during a specified period of time I would like to be able to click on the time series tick label so that I can zoom in on that area of time and see what happened in more detail.

So far I have not been able to find anything in JFreeCharts that will do this. So if anyone knows how this could be accomplished please let me know.

Thanks.

David Gilbert

Re: Image map options for axis labels?

Post by David Gilbert » Tue Dec 17, 2002 12:32 am

Hi Kevin,

The chart mouse events mechanism in the ChartPanel class makes use of the EntityCollection that is returned in the ChartRenderingInfo class. At the moment, chart entities are only generated for the data items in the chart, but I plan to extend that to include legend items, axis labels, chart titles and so on. I'm not sure when I'll get to that though...I'd recommend you have a go at it yourself if you need it urgently.

Regards,

DG

Locked