Results 1 to 3 of 3
  1. #1
    fireatwire is offline Member
    Join Date
    May 2010
    Rep Power

    Question Clustered Bar Chart/Graph with JPanel & JFrame - need help!


    I am searching for a solution on how I can make a clustered bar graph in Java. Like this one:

    Sales per month

    Any ideas or code examples? Or is there a tutorial on the internet about that? I want to use the javax.swing.* and java.awt.* libraries only (not jGraph, ...).

    I really appreciate your help or advice!

  2. #2
    Webuser is offline Senior Member
    Join Date
    Dec 2008
    Rep Power


    Well you can use the lib as JFreeChart

    watch the link


    JFreeChart download

    and a demo

    To get started please read its documentation...
    Last edited by Webuser; 05-11-2010 at 05:32 AM.
    If my answer helped you. Please click my "REP" button and add a comment
    Have a Good Java Coding :)

  3. #3
    fireatwire is offline Member
    Join Date
    May 2010
    Rep Power


    Thanks webuser! I've got it to work but with the java swing and graphics library!

Similar Threads

  1. Putting a graph on another JPanel in another JFrame
    By thestarncy in forum AWT / Swing
    Replies: 10
    Last Post: 12-31-2009, 05:45 PM
  2. Plot Chart on Jpanel.
    By cowboy in forum New To Java
    Replies: 12
    Last Post: 12-13-2009, 10:38 AM
  3. Drawing Graph and Add to JPanel
    By halo3 in forum NetBeans
    Replies: 17
    Last Post: 09-22-2009, 01:31 PM
  4. how to draw x-y graph in Jpanel.--not in APPLET.
    By in forum New To Java
    Replies: 2
    Last Post: 08-24-2008, 05:01 AM
  5. Java chart & graph lib
    By saturdaybugs in forum Java 2D
    Replies: 1
    Last Post: 04-24-2008, 01:59 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts