• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

draw bar chart in java or servlet or jsp

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i'm doing a jsp project i need to draw a chart using database values. Reporting chart.when database updates chart automatically update i want. Total no of record vs no of passed record
(like 200 vs 143). pls send code in servlet or jsp or java. pls help me soon.send code in
vethadas@hotmail.com
like Pie Chart,Bar Chart,column chart or graphs
Thanks,
arun.
[ January 16, 2002: Message edited by: arun vethadas ]
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
...or rather than just giving the solution to you, we can discuss it here so everyone can share.
I'd have this as a JSP that created 2 images that get stretched depending on the proportions.
eg

You also have the option of scaling or normalising the data (eg if they can only have a total width of 200 etc)
In addition, if you make the gifs 1*1, they are tiny but still look the same when stretched.
This what you were looking for?
Dave
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
See RChart: http://www.java4less.com and click on "RChart".
It has the following advantages:
- very reasonable price
- Documentation , support and online-tutorial are included
- Works as applet, servlet or bean.
- It works with java 1.1 also
- Supports more than 18 types of charts andhas interactive features (zoom,tips,scroll,html
links)
- Includes RChart Visual Builder (almost no programming)
- Can read data from database.
- source code is available can be freely modified for commercial applications also.
 
Let's go to the waterfront with this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic