I am new to this place and have a lot of questions to discuss with all here. Starting with a problem that i am currently stuck in..:)

I have a small project for which i am using net beans and want to generate the graph as I am having values stored inside an array. I just want a graph at the output of it. So which component should i use or what steps should I follow in order to print graph at the output.

I am using swing. I want to use both pie and bar graph.

The JFreeChart supports bar charts, pie charts, line charts, time series charts, scatter plots, histograms, simple Gantt charts, Pareto charts, bubble plots, dials, thermometers and more. And it’s free you can download it from the sourceforge site at the address:
http://sourceforge.net/projects/jfreechart/

Or if you wish use the charting classes developed by NetBeans and used by profiler try this address:
http://hg.netbeans.org/main/file/766866f3b922/lib.profiler.ui/src/org/netbeans/lib/profiler/ui/charts


Hope this help.

Hey thanks

i have been struggling with the netbeans classes and since i am new so its kinda uphill for me. i will give the jfree chart a try and see if its easier.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.