Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • 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
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Graphs support in Java.

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.
I want to draw different graphs in my application. Is there any API available for it or any support for it. Please help me how to draw Bar / Line / Pie charts.
 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JFreeChart is a free (GNU LGPL) class library for generating charts in Java:
http://www.object-refinery.com/jfreechart/index.html
It includes support for bar charts (regular, stacked, 3D effect), pie charts, line charts, scatter plots, time series charts, candle stick plots, high-low-open-close and more.
JFreeChart has been successfully used in applications, servlets and applets. Give it a try!
Regards,
Dave Gilbert
www.object-refinery.com
 
Aphsal Viking
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Dave . Actually I want to display my graphs in Applet and I am deploying my final site (which is in ASP) on a shared server. Can I still use it ?
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Viking" -

Welcome to the JavaRanch! Please adjust your displayed name to meet the
JavaRanch Naming Policy.
You can change it here.

Thanks! and welcome to the JavaRanch!

-Nate
 
Ranch Hand
Posts: 305
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am also looking for an answer o this..I would like to use the graph capabilities into servlets..but usig this free API means settings of server for this AGAIN..too much of work and costs involved(as I have to pay for getting my server settled like this)..
Is their no API in built in JDK which can be used for same.
regards
Arun
 
Ranch Hand
Posts: 1170
Hibernate Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might want to search on sourceforge.net for a java Graph application.
 
David Gilbert
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Viking:
Thanks Dave . Actually I want to display my graphs in Applet and I am deploying my final site (which is in ASP) on a shared server. Can I still use it ?


You can use JFreeChart in an applet. It requires Java 2, so some browsers may not like it. Mozilla works great for me. Try out the Markov Queue Simulation that Lev Givon has posted--it uses JFreeChart:
Markov Queue Simulation
Regards,
Dave Gilbert
www.object-refinery.com
 
What do you have to say for yourself? Hmmm? Anything? And you call yourself a tiny ad.
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic