Results 1 to 3 of 3

Thread: How to Rotate 2D MSChart so bars are Vertical?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 1999
    Location
    Austin,TX,USA
    Posts
    98

    Post

    Hi All! I've been developing a test for new employees at my company, and when they finish it I want a Chart/graph that show the max score(20) as a vertical bar going from Left to Right, and then a bar showing the user's score as another bar below the first one, showing their score. I can't find anywhere in MS help how to do this. Is it even possible?

  2. #2
    Guest

    Post

    You could use two rectangle shapes and adjust the width.

    Code:
    lblMaxScore.Text = "Total Possible: 20"
    shpMaxScore.Width = 8055 ' Or whatever you want the max width to be
    lblUserScore.Text = "Your Score: " & UserScore
    shpUserScore.Width = (UserScore / 20) * shpMaxScore.Width ' Figure the percentage of the Score and convert the width of the box

    ------------------
    Boothman
    There is a war out there, and it is about who controls the information, it's all about the information.


  3. #3

    Thread Starter
    Lively Member
    Join Date
    Feb 1999
    Location
    Austin,TX,USA
    Posts
    98

    Post

    THANKS Boothman! I ended up doing something very similar to what you sent. I guess I just needed to have my suspicions about MSCharts weakness confirmed.

Posting Permissions

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



Click Here to Expand Forum to Full Width