Jump to content


Photo

Chart


  • Please log in to reply
No replies to this topic

#1 mcmuney

mcmuney
  • Members
  • PipPipPip
  • Advanced Member
  • 358 posts

Posted 10 March 2006 - 05:35 AM

This is my first attempt in creating a chart based on user inputted data. I'd appreciate any help on this. Here's what I need it to do:

First, user will, for each letter specify their importance by choosing 1-5. RULE: Same number cannot be repeated. For example, if 5 is chosen for A, 5 cannot be used again for the remaining letters.

A
B
C
D
E

Now, lets assume that the following is how they were rated. Information store in MySQL DB.

A 5
B 4
C 3
D 2
E 1

Based on the above information, I'd like to retreive this data utilizing a bar/pie chart using a %. For example, A would be 100%, B 80%, C being 60%, etc.

Never done anything like this and not sure how to approach it.

Thanks in advance.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users