
Jeff Frazier - 2007-12-04 06:56:38
Allright so far i got the basic understanding down of getting the piechart generated.
The problem i am having is that its only displaying the legend and not the actual chart itself.
It seems to be because of the huge difference in values that it never can generate it.
Here is a var dump of the var im passing to create the pie chart:
array(3) {
[0]=>
array(3) {
[0]=>
string(3) "200"
[1]=>
int(12501)
[2]=>
string(7) "#ff0000"
}
[1]=>
array(3) {
[0]=>
string(3) "500"
[1]=>
int(4)
[2]=>
string(7) "#00ff00"
}
[2]=>
array(3) {
[0]=>
string(3) "503"
[1]=>
int(12)
[2]=>
string(7) "#0000ff"
}
}
As you can tell there are 12 thousand "200" and only 4 and 12 "500/503". This is data generated on the fly from a SQL database so i am not able to lower values or anything like that.
Any help would be appreciated because i am trying to generate graphs for status codes returned by a web testing tool for reporting purposes.