aspose file tools*
The moose likes Other Open Source Projects and the fly likes How to write chart application using netcharts.server.api ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "How to write chart application using netcharts.server.api ?" Watch "How to write chart application using netcharts.server.api ?" New topic
Author

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

sridhar bvap
Greenhorn

Joined: Mar 12, 2008
Posts: 19
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

sridhar bvap
Greenhorn

Joined: Mar 12, 2008
Posts: 19
<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>
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41865
    
  63
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?


Ping & DNS - my free Android networking tools app
sridhar bvap
Greenhorn

Joined: Mar 12, 2008
Posts: 19
s
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to write chart application using netcharts.server.api ?