Image map for Polar Chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Jeff Gardner
Posts: 10
Joined: Sun Dec 28, 2003 5:38 pm

Image map for Polar Chart

Post by Jeff Gardner » Thu Apr 15, 2004 5:40 pm

Hello

I'm trying to create an image map for the Polar Chart.

private JFreeChart createChart(XYDataset dataset) {
JFreeChart chart = ChartFactory.createPolarChart(
null, dataset, true, true, true
);
PolarPlot plot = (PolarPlot) chart.getPlot();
DefaultPolarItemRenderer renderer = (DefaultPolarItemRenderer) plot.getRenderer();
renderer.setSeriesFilled(2, true);
return chart;
}
------------------------------------------------------
I assume that the 5th parameter set to true are for URL's, however, when I create the image map, ChartUtilities.writeImageMap(printwriter, "chart", info);
I just get the map name

Thanks

- Jeff

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Fri Apr 16, 2004 9:56 am

The polar chart code doesn't populate the ChartRenderingInfo object that is passed to the draw(...) method, so there is currently no support for tooltips or image map generation. Eventually it will be added.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Jeff Gardner
Posts: 10
Joined: Sun Dec 28, 2003 5:38 pm

Polar image maps -

Post by Jeff Gardner » Mon Apr 19, 2004 9:17 pm

Any idea, on when Polar Charts will populate the ChartRenderingInfo object? Eventually as in 1 mo, 6mo, 1yr???

Also is there a way to add labels to the Polar Chart?

Thanks

- Jeff

Locked