Results 1 to 15 of 15

Thread: [RESOLVED] [2005] Bar Graphs

Threaded View

  1. #8
    PowerPoster VBDT's Avatar
    Join Date
    Sep 2005
    Location
    CA - USA
    Posts
    2,922

    Re: [2005] Bar Graphs

    You can set a constant length for all the picture boxes, let say Width = 100. Then you calculate the persentige of each grade by deviding the total students count by grade count. For example if you have 10 students and three of them got "A" then the percentige for "A" would be 3/10 = 0.3 which is the percentige of the "A" grade. Then you multiply the constant Width = 100 by 0.3 wich = 30 and assing it to the "Width of the pictureBox. In this way the pictureBox Width will never be more than 100.

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