Forum


Replies: 11   Views: 3089
Change data chart from xlsx
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 admin  · 22-11-2017 - 07:15

Hello,

We have tested the included sample in the DocxUtilities/replaceChartData folder with PHP 5.2, PHP 5.3, PHP 5.5, PHP 5.6, PHP 7.0 and PHP 7.1 on Linux, Windows and macOS and everything is working as expected.

Please extract the package again, and without changing anything, open the examples/DocxUtilities/replaceChartData folder and run the script using PHP CLI mode:

$ php sample_1.php

and check the DOCX output. Also please check the script can write to the target folder.

Do you see any PHP error? Could you post the PHP version you are using?

Regards,