Author |
Message |
24/09/2004 02:06:52
|
Johncr
Beginner
Joined: 21/09/2004 03:01:15
Messages: 28
Offline
|
http://www.cartapacio.com/pie.jpg
Please note the two smaller sectors.
|
|
24/09/2004 09:25:41
|
amber222
Graduate
Joined: 07/05/2004 21:13:07
Messages: 586
Offline
|
Where's your php file for this poll?
|
|
24/09/2004 12:01:55
|
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
|
So? Its a pie chart.
A link to the page would be useful along with the code you used and
the options for people to choose from on the poll and maybe how
many people have voted for each one either in nums or as a % figure.
|
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) |
|
02/10/2004 21:39:33
|
Johncr
Beginner
Joined: 21/09/2004 03:01:15
Messages: 28
Offline
|
Auron wrote:A link to the page would be useful along with the code you used and
the options for people to choose from on the poll and maybe how
many people have voted for each one either in nums or as a % figure.
Hi Auron.
Sorry, I was too busy the past week.
The problem is that I'm running the Poll at my local machine for a while. I hope I'll be able to upload the poll into a server in a week or so. However, it is very easy to reproduce the bug, if you have the time.
Using Admin, create a new 3 options poll.
Make them:
Red = 15 -> 1.5%
Orange = 490 -> 49.2%
Green = 490 -> 49.2%
It doesn't matter if you use nums or percent.
The resulting 1.5% red-pie-sector shows green instead of red.
Now, increase red by 1 so that it is now 1.6%.
The resulting 1.6% red-pie-sector is now red which is right.
|
|
07/10/2004 06:14:29
|
Anonymous
|
Johncr wrote:
Auron wrote:A link to the page would be useful along with the code you used and
the options for people to choose from on the poll and maybe how
many people have voted for each one either in nums or as a % figure.
Hi Auron.
Sorry, I was too busy the past week.
The problem is that I'm running the Poll at my local machine for a while. I hope I'll be able to upload the poll into a server in a week or so. However, it is very easy to reproduce the bug, if you have the time.
Using Admin, create a new 3 options poll.
Make them:
Red = 15 -> 1.5%
Orange = 490 -> 49.2%
Green = 490 -> 49.2%
It doesn't matter if you use nums or percent.
The resulting 1.5% red-pie-sector shows green instead of red.
Now, increase red by 1 so that it is now 1.6%.
The resulting 1.6% red-pie-sector is now red which is right.
If I'm not mistaken, which I'm sure I'm not, your math is .1 off. 49.2 + 49.2 + 1.5 = 99.9. Try +1.6 and maybe that will fix it.
|
|
07/10/2004 21:04:48
|
Johncr
Beginner
Joined: 21/09/2004 03:01:15
Messages: 28
Offline
|
Nope, it is not my math. I did enter the figures and the poll's algorith did the job, not me.
|
|
|