How to draw Excel horizontal bar chart?

This is a discussion on How to draw Excel horizontal bar chart? within the C Programming forums, part of the General Programming Boards category; I have problem displaying horizontal bar chart in Excel, instead it displays a column chart. My code looks something like ...

  1. #1
    Registered User
    Join Date
    Nov 2004
    Posts
    2

    How to draw Excel horizontal bar chart?

    I have problem displaying horizontal bar chart in Excel, instead it displays a column chart. My code looks something like this:

    DO(Wasp_Path_moveTo(path, x0, -(y0)));
    DO(Wasp_Path_lineTo(path, x0 + dx, -(y0)));
    DO(Wasp_Path_lineTo(path, x0 + dx, -(y0) + dy));
    DO(Wasp_Path_lineTo(path, x0, -(y0) + dy));

    Can anyone help on this, or give a rough skeleton on how to write the code for this in C?

    Thanks.

  2. #2
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,175
    Are you trying to do this in C or in Excel?
    If you understand what you're doing, you're not learning anything.

  3. #3
    Registered User
    Join Date
    Nov 2004
    Posts
    2
    I m doing it in C.

    Can you give a rough idea on how to implement it?

    Thanks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How does MS Excel or Word draw to the screen??
    By Fremontknight1 in forum Windows Programming
    Replies: 2
    Last Post: 07-20-2008, 02:58 PM
  2. beach bar (sims type game)
    By DrKillPatient in forum Game Programming
    Replies: 1
    Last Post: 03-06-2006, 01:32 PM
  3. List box horizontal bar
    By cfriend in forum Windows Programming
    Replies: 1
    Last Post: 09-12-2004, 04:52 PM
  4. Enabling horizontal scroll bar in dialog list box
    By bennyandthejets in forum Windows Programming
    Replies: 0
    Last Post: 06-03-2004, 07:54 PM
  5. no horizontal scroll bar?
    By scott27349 in forum C++ Programming
    Replies: 0
    Last Post: 03-16-2002, 10:41 PM

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