I am using the following:
$chartImage->autoOutput('/statistics/'.$image.'.png');
The problem is that this code displays the image in the browser. I would prefer it to save the image in a file with the name I specified. How can I do it? I looked at the pChart wiki and it really confused all these pCache stuff. I don't need caching or anything like that ... I just want to save the image.
source share