Forums Register Login

How to write chart application using netcharts.server.api ?

+Pie Number of slices to send: Send
Hi to all.

i need to write a chart application in Java which makes use of netcharts.server.api.

Iam having netcharts.jar, chartworks.jar, commons-httpclient.jar, commons-logging.jar, ncstoolkit.jar in my hand.

I need to make use of above jars only to build line graph or charts or any thing.

That application has to work in html or jsp.

can any buddy please help me in this regard.

iam very much thank full for any reply.

please help me.


thanks in advance

+Pie Number of slices to send: Send
<html>
<head>
<script>
function defaultFun(){
var tab='<table border=\'1\'>';
for(var i=0;i<4;i++){
tab = tab+'<tr>';
tab = tab+'<td><input type=\'text\' name=cust:'+i+' style=\'text-align:right;\' onclick=\'myfun(this)\' value=\'1234\' size=\'9

\'></td>';
tab = tab+'<td><input type=\'text\' name=lust:'+i+' style=\'text-align:right;\' onclick=\'myfun(this)\' value=\'3445\' size=\'9

\'></td>';
tab = tab+'<td><input type=\'text\' name=pust:'+i+' style=\'text-align:right;\' onclick=\'myfun(this)\' value=\'4566\' size=\'9

\'></td>';
tab = tab+'<td><input type=\'text\' name=must:'+i+' style=\'text-align:right;\' onclick=\'myfun(this)\' value=\'5677\' size=\'9

\'></td>';
tab = tab+'<td><input type=\'text\' name=sust:'+i+' style=\'text-align:right;\' onclick=\'myfun(this)\' value=\'2445\' size=\'9

\'></td>';
tab = tab+'<td><input type=\'text\' name=yust:'+i+' style=\'text-align:right;\' onclick=\'myfun(this)\' value=\'4355\' size=\'9

\'></td>';
tab = tab+'<td><input type=\'text\' name=eust:'+i+' style=\'text-align:right;\' onclick=\'myfun(this)\' value=\'7473\' size=\'9

\'></td>';
tab = tab+'<td><input type=\'text\' name=wust:'+i+' style=\'text-align:right;\' onclick=\'myfun(this)\' value=\'16534\' size=\'9

\'></td>';
tab = tab+'<td><input type=\'text\' name=zust:'+i+' style=\'text-align:right;\' onclick=\'myfun()\' value=\'1244\' size=\'9

\'></td>';
tab = tab+'<td><input type=\'text\' name=aust:'+i+' style=\'text-align:right;\' onclick=\'myfun(this)\' value=\'13454\' size=\'9

\'></td>';
tab = tab+'</tr>';
}
tab=tab+'</table>';
document.getElementById("tab").innerHTML =tab;
}
function check(){
var tabrows = document.getElementsByTagName('input');
var c=0;
for(var i=0;i<tabrows.length;i++)
{
if(tabrows[i].type == 'text'){
if(tabrows[i].name.match('pust:') != null)
tabrows[i].style.background = '#BBFFFF'
c++;

}

}

alert(c);

}
function myfun(obj){
obj.style.textAlign = 'left';
obj.style.background = '#BBBBBF';

}
></script>
</head>
<body onload="defaultFun(),check()">
<form>
<div id="tab">Table data</div>
</form>
</body>
</html>
+Pie Number of slices to send: Send
Um, is this new post meant to demonstrate what you're trying to achieve?

As to the original question, what do you have so far? If you're talking about this product, then that's commercial software and should come with documentation and example code, no?
+Pie Number of slices to send: Send
s
eat bricks! HA! And here's another one! And a tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 2033 times.
Similar Threads
MultiLable chart
Using the out object
Java FTP Progress Bar
create chart application in java
Struts - Error - "Cannot find ActionMappings or ActionFormBeans collection"
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 18:08:07.