Hi I am trying to create simple graph in java every where in the internet, they suggest to use JFreeChart. Can any one guide me how to create simple graph without using JFreeChart.
Thank you
Hi I am trying to create simple graph in java every where in the internet, they suggest to use JFreeChart. Can any one guide me how to create simple graph without using JFreeChart.
Thank you
Why don't you use JFreeChart??
Take a look at these stuffs
Standalone
Generate Pie Chart/Bar Graph in PDF using iText & JFreeChart
Graph using Eclipse
Web
JFreeChart : Create Auto-Refreshing Pie Chart in Servlet dynamically
Create a bar chart in JSP page using JFreeChart
In Web application you will get a lots of plugins for creating charts and graphs.
Take a look at this article
Depends whether you want to generate the graph on the front end or back end.
Personally i prefer front end tools such as: Google graph api - https://developers.google.com/chart/
Check out there quick start page: https://google-developers.appspot.com/chart/interactive/docs/quick_start
You can output a beautiful graph in minutes.
Personally I prefer XChart. It's both powerful and simple to use. Just have a look at the main page:
The license is Apache 2.0 and you can find the source code on github:
The standard java demos folder contains a nice graph demo. See your JDK installation:
.../jdk1.x/demo/applets/SimpleGraph/
Load it via .../demo/applets.html