Thread: How to draw Excel horizontal bar chart?

  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,218
    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, 01: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, 03:52 PM
  4. Enabling horizontal scroll bar in dialog list box
    By bennyandthejets in forum Windows Programming
    Replies: 0
    Last Post: 06-03-2004, 06:54 PM
  5. no horizontal scroll bar?
    By scott27349 in forum C++ Programming
    Replies: 0
    Last Post: 03-16-2002, 10:41 PM