I am at a loss. I have uploaded the pChart files, verified GD. The first thing I did was make my own test application basing it off of one of the examples. It worked fine, great. So I decided I would try one of the advanced examples (the one with double Y-Axis and shadows). Nothing rendered, so I tried making some changes, still nothing, went back to the original code that worked ... nothing. The built in examples ... nothing. I get no error messages, it simply does not make a .png file anymore. I have no idea why.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The Render() command worked the first time, now it doesn't work. The Stroke() command when used inside a table produces garbled output. When I put the examples inside <html><body> codes and using stroke I get an error message along the lines of "The image cannot be displayed because it has errors in it". So is something wrong and pChart is rendering bad files and that is why the Render command is no longer saving any image files?
I tried deleting and reupping the pChart files but that did not solve anything.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just started using pChart today, and had that same problem. As it turned out, in my case the problem was caused by an include file that had a trailing space after the closing ?> tag. If the built-in examples don't work maybe yours isn't the same issue I had, but still it might be worth a check. Also, is debug output on in your php.ini file? Maybe there's some problem with your installation that causes a php warning? If the image "has errors in it", it sounds to me that something, somewhere, outputs text destroying the image data.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am at a loss. I have uploaded the pChart files, verified GD. The first thing I did was make my own test application basing it off of one of the examples. It worked fine, great. So I decided I would try one of the advanced examples (the one with double Y-Axis and shadows). Nothing rendered, so I tried making some changes, still nothing, went back to the original code that worked ... nothing. The built in examples ... nothing. I get no error messages, it simply does not make a .png file anymore. I have no idea why.
Are you using the "Stroke" command or the "Render" command? You should be sing "Stroke"...hth
The Render() command worked the first time, now it doesn't work. The Stroke() command when used inside a table produces garbled output. When I put the examples inside <html><body> codes and using stroke I get an error message along the lines of "The image cannot be displayed because it has errors in it". So is something wrong and pChart is rendering bad files and that is why the Render command is no longer saving any image files?
I tried deleting and reupping the pChart files but that did not solve anything.
I just started using pChart today, and had that same problem. As it turned out, in my case the problem was caused by an include file that had a trailing space after the closing ?> tag. If the built-in examples don't work maybe yours isn't the same issue I had, but still it might be worth a check. Also, is debug output on in your php.ini file? Maybe there's some problem with your installation that causes a php warning? If the image "has errors in it", it sounds to me that something, somewhere, outputs text destroying the image data.