From: Nathaniel G. A. <nat...@ya...> - 2003-04-18 15:27:48
|
> Thank you for your quick reply. But this hasn't solved my problem. > > I have to display "n" no.of Piecharts and "n" no.of BarGraphs in Same JSP > page. > I have different data sets. > > while creating bare charts, > Each time Iam getting "AxisChart" object and passing that to > JPEGEncoder13.encode() as follows. a piechart != axischart so that is a problem. > > <%img border="0" src="<%JPEGEncoder13.encode(m_axisChart,1.0f,response); > %>" this actually renders a chart in the browser? As an example, if you wanted 4 charts you would need something like this: <img border="0" src="myPieChartServlet?key=1"> <img border="0" src="myPieChartServlet?key=2"> <img border="0" src="myPieChartServlet?key=3"> <img border="0" src="myBarChart?key=1"> You need a request for each image that has a 'key' so it knows what dataset to render. ===== __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com |