Page 1 of 1

jpgraph error

Posted: Tue Jan 25, 2005 4:08 am
by snicolas
Hi...

I am trying to debug an erro i receive using JPgraph.

The error is:
"Illegal Pie Plot - SUm of all data is zero for pie".

Ok, I understand what it says, but where or what do i do to learn more?
Does it mean that the values returned from my sql select is NUll?

thx

stef

Posted: Tue Jan 25, 2005 8:01 am
by feyd
that would appear to be the case.

Posted: Tue Jan 25, 2005 11:16 am
by pickle
I've just started using jpgraph myself, and I've found the forums and documentation there extremely valuable. I'd check out the documentation to get a further explanation to the error.

Also, dump the results of your query to see if what happens is actually what you think is happening.