Results 1 to 3 of 3

Thread: Bar Chart

  1. #1
    surbjits is offline Member
    Join Date
    Aug 2013
    Rep Power

    Default Bar Chart

    Hi guys,

    I need to print out a bar chart, via a call from a method barChartPrinter. I.e. barChartPrinter(5, 6, 2); would print: a vertical column of 5 XX's followed by
    a space then a vertical column of 6 XX's and a vertical column of 2 XX's.

    The numbers are based on user input, so I'm thinking I need to gather the numbers and store those in an array. And I'm thinking a for loop will be involved,
    but I'm not sure how I'd do it.


  2. #2
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Northern Virginia, United States
    Rep Power

    Default Re: Bar Chart

    Where is your code? What have you tried?

    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  3. #3
    vector_ever is offline Senior Member
    Join Date
    Jul 2013
    Rep Power

    Default Re: Bar Chart

    read about JfreeChart, you will find what you are looking for

Similar Threads

  1. Bar Chart guidance
    By jwl in forum New To Java
    Replies: 2
    Last Post: 10-29-2012, 03:33 PM
  2. Bar Chart
    By jwl in forum New To Java
    Replies: 2
    Last Post: 10-27-2012, 06:25 PM
  3. jfreechart plotting line chart on candlestick chart
    By amlwwalker in forum New To Java
    Replies: 0
    Last Post: 10-07-2012, 02:18 AM
  4. iReport Chart
    By rose_mary in forum Other IDEs
    Replies: 0
    Last Post: 12-09-2008, 06:17 PM
  5. Demo bar chart and pie chart
    By Java Tip in forum java.awt
    Replies: 0
    Last Post: 06-24-2008, 12:22 AM

Posting Permissions

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