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
Image map for Polar Chart
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
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
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


-
- Posts: 10
- Joined: Sun Dec 28, 2003 5:38 pm
Polar image maps -
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
Also is there a way to add labels to the Polar Chart?
Thanks
- Jeff