Replies: 4   Views: 2949
Add template chart
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by interfacerestauration  · 17-08-2011 - 13:29


I found a bug in the PRO version of the library.

In 'Template_chart.php' (examples/easy/) when I try to generate the docx, there is a chart inside.
But when I change the variable $PIECHART$ with $PIECHART2$ in 'TemplateChart.docx' and I change the code:
$docx->addTemplateChart ('PIECHART2', $paramsChart); the graph is not created.

After that, there is no more chart with any variables... and I have to upload the first 'Template_chart.php' wich is contained in the librairy's ZIP file.

Have you any idea ?