|
How to use multi chart object in java |
Posted by Megha on Dec-02-2014 14:07 |
|
Hello
I have to use multi chart object in java to create multiple charts on a single page.In demo
multi chart object coding is given in php, I can't understand how to output the chart. |
Re: How to use multi chart object in java |
Posted by Peter Kwan on Dec-02-2014 22:31 |
|
Hi Megha,
The "Concentric Donut Chart" and the "Dual Horizontal Bar Chart" are examples on how to
use the MultiChart object.
http://www.advsofteng.com/doc/cdjava.htm#concentric.htm
http://www.advsofteng.com/doc/cdjava.htm#dualhbar.htm
The MultiChart can be output using the same method as any other chart. For example:
String chart1URL = myMultiChartObject.makeSession(request, "chart1");
.....
<img src='<%=response.encodeURL("getchart.jsp?"+chart1URL)%>'>
Hope this can help.
Regards
Peter Kwan |
|