I'm creating a time chart that contains few graphs with around 300K entries per graph.
I save the chart as a png file and crate a map file for it.
When loading the html file in IE7 it freezes because it can't process the huge amount of coords.
Below is how I create the png and html file that will load the png with the map and coordinates.
Code: Select all
ChartRenderingInfo info = new ChartRenderingInfo(new StandardEntityCollection());
ChartUtilities.saveChartAsPNG(chkFile, chart, 1250, 500, info);
OutputStream out = new BufferedOutputStream(new FileOutputStream(mapFile));
PrintWriter writer = new PrintWriter(out);
ChartUtilities.writeImageMap(writer, "chart", info, true);
writer.close();
My problem is that I can’t find how can I get only chart area (without the labels area)?
Appreciate any help.
Thank you,
Udi.