how can I display more then one Java Graph
how can I display the same Java Graph more then once on the same HTML page. Everytime I add another graph using the same code on the same HTML page only one graph will show. Here is the code that I have:
<html>
<head>
<title>Graph</title>
<body>
<title>Data</title>
<p align="center"> </p>
<p align="center"><font size="4"><b>test</b></font></p>
<center>
<script type="text/javascript" src=".\JavaFiles\wz_jsgraphics.js">
</script>
<script type="text/javascript" src=".\JavaFiles\line.js">
</script>
<div id="lineCanvas" style="overflow: auto; position:center;height:300px;width:800px;"></div>
<script type="text/javascript">
var g = new line_graph();
g.add(' 1.0',197);
g.add(' 2.0',721);
g.add(' 3.0',852);
g.render("lineCanvas","test");
</script>
<p align="left"><font size="2"><b>Test </b></font></p>
</body>