• Post Reply Bookmark Topic Watch Topic
  • New Topic

to draw the bar charts

 
swati maken
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi! friends,
I am facing one problem for which I need ur help.
Actually I have to make a web based solution to draw the bar charts based on the data stored there in the database through a programme code, which I don't know how exactly its possible.
The other solution for this problem is that I should use a software for this, I have found one such software which is also db driven. But here the problem is that my db is there on the net i.e on the remote server, and my s/w is running on the local machine. The s/w can connect or take the values from Access only, so the problem is that how to connect or how to dump the db of remote machine to that of local machine.
I hope I have made u understand my problem.
Swati
 
Maky Chopra
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dont understand why you need to get the data to the client to draw the chart ? I'm assuming you are running a browser based solutions (since you are posting in the jsp/servlet forum)
There are plenty of free/commercial graphing classes available and you could use any of them to create your graph on the server itself and send it down to your thin-client.
These may help : http://www.javaworld.com/javaworld/jw-05-2000/jw-0505-servlets.html
http://www.ve.com
HTH
[This message has been edited by Mak Bhandari (edited July 03, 2001).]
 
testj
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To draw bar charts you can use "ChartGear" package which is a free download. Its basically a packaged applets. you can fetch all the values from database store it in session or variables and then feed them to the "chargear" components.
testj
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If your problem is purely display, I've done this prevoiously by creating several 1 pixel by 1 pixel gifs of multiple colors then just having a dynamic size for them based on the data.
ie when you drop them on the page, just stretch them.
The advantage is the gifs get cached and they're way small.
Dave.
 
swati maken
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks u all for ur help.
But still I am not able to get it. Actually I have to make the barcharts, the number of which,i.e bars no., will vary from time to time. And the parameters req. to draw barcharts are there in the db.
You have talked about 'chartgear' is this a s/w or a api? and where do get it?
Pl. help me out.
Swati
 
kichu kichu
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai swati,
You can download chartgear from==> http://www.solsticeinc.net/ChartGear/CGPage1.html
Click on the download link on the page to download it.
Hope it is of help to you.
regards,
kichu
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!