how to draw Graph in netbeans

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tarunchotlani
    New Member
    • Apr 2010
    • 1

    #1

    how to draw Graph in netbeans

    I am using netbeans for mini project. I just want a graph at the output of it. So which component or what steps should I follow in order to print graph at the output.

    I want to generate the graph as I am having values stored inside an array.
    I am using swing. I want to use both pie and bar graph.
  • jkmyoung
    Recognized Expert Top Contributor
    • Mar 2006
    • 2057

    #2
    You can either implement the drawing of the charts yourself or search for sample code.

    DIY - Pie chart sample: http://www.java-tips.org/java-se-tip...pie-chart.html

    If you choose to use a specific library (search for it), please try it out and then post back. There isn't really a standard set of tools for this at the moment.

    Comment

    Working...