Bar graph

This is a discussion on Bar graph within the C++ Programming forums, part of the General Programming Boards category; How do you make a bar graph for Microsoft Visual 6.0? I know for the most part how to make ...

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    17

    Bar graph

    How do you make a bar graph for Microsoft Visual 6.0?
    I know for the most part how to make multiple lines, but I don't know how to make the graph. Do I have to draw it or what. I am totally lost. any help would be appreciated.

  2. #2
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    are we talking GDI functions in a window or columns of asterixes or something in the console?
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    17
    I'm talking a column of asterixes. and also a visible x and y axis

  4. #4
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    read the faq for the gotoxy() function. This will allow you to 'place' on the screen!
    hard to help further without knowing what you are trying to graph.

    Do you know how to work out the relative heights of each column needed?
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. need help with sin(x) and bar graph
    By SuPaNooB in forum C Programming
    Replies: 6
    Last Post: 10-07-2007, 02:01 AM
  2. How to create graph and bar char
    By beon in forum Windows Programming
    Replies: 1
    Last Post: 07-26-2007, 12:45 AM
  3. error help making no sense
    By tunerfreak in forum C++ Programming
    Replies: 5
    Last Post: 04-17-2007, 08:55 PM
  4. beach bar (sims type game)
    By DrKillPatient in forum Game Programming
    Replies: 1
    Last Post: 03-06-2006, 01:32 PM
  5. Horizontal bar Graph?
    By robjules in forum C++ Programming
    Replies: 4
    Last Post: 11-26-2001, 04:55 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21