SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: Php Statistic Bar Chart
-
Apr 27, 2006, 00:37 #1
- Join Date
- Aug 2005
- Posts
- 74
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Php Statistic Bar Chart
new.member
*
Posts: 2
Joined: 26 Apr, 2006
Dream Kudos: 0
Favorite Browser: Who Cares Favorite Processor: Who Cares OS Preference: Who Cares Country: Who Cares
Gaming Platform: Who Cares Your Car:
Thanks. I am studying the jpgraph now. I will ask question if Ineed to. Thanks for your explanation though.
One more thing. I have got to the level where I have made this bar chart with my php code for example:
1. How is the survey?
response:
a. Good ------------------100% (1)
b. Not too good ----------100% (1)
c. Not sure----------------50% (2)
I only want to change the colour of the bar chart in good to red, Not too good to blue and Not sure to green....
I do not know how to do that and also how to find the average of the total responses.
If you can still help, I am online all day pls.
-
Apr 27, 2006, 01:16 #2
Originally Posted by david4u
Originally Posted by david4u
percentage = number of votes for x / number of total votes * 100
Bookmarks