I’m trying to use pCharts on Yii framework website(instazood).
I stumbled upon some minor issues of font path etc but these are resolved. No matter what I do, at most I get the following error message:
the image “https://iinstazood.com/index.php?r=site/page&view=my-account” cannot be displayed because it contains errors.
I’m not sure why this error appears and how to resolve it. Here are some more information and thoughts:
- I’ve tried using both stroke(), render() and autoOutput() to no avail.
- I’ve tried embedding the pCharts code inside an tag.
- I’m pretty sure that Yii framework does do some output before the chart is requested to be rendered. Might this be the problem? Then I’m not sure how the chart image is to be integrated with some content management system/framework/site.