jpgraph error

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
snicolas
Forum Commoner
Posts: 97
Joined: Tue Nov 09, 2004 8:32 am

jpgraph error

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

that would appear to be the case.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post 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.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply