I have a web page with some info and a space for a chart. The chart's space could resize dynamically when user resize browser window.
I have the following html code for the chart:
Code: Select all
<img src="OTD?width=800&height=400" alt="otd" name="otdGraph" id="otdGraph">
I can resize the generated image without problem using javascript, but I'm resizing the resulting image insted of regenerate the chart with new size in
Code: Select all
ChartUtilities.writeChartAsPNG(out, chart, width, height);
Thanks