I am trying to create PowerPoint Presentations via PHP using this library. When I try to create Chart objects inside the PowerPoint, I am not able to edit the charts when I download the file and open them in Microsoft Office.
Is there any library which can build charts inside a PowerPoint file and allow it to be edited via Office PowerPoint?
Sample Chart created using the above library
In PowerPoint, click File > Info > Edit links to Files. Turn on the Automatically Update checkbox and try again.
Select your chart in PowerPoint. From the Chart Tools menu, click Design, then the Refresh Data button.
Click File > Save As, and then choose Web Page or Web Page, Filtered.
This is likely to be a bug with PHP Power Point.
However, the latest version of PHPExcel supports Charting and is actively maintained. It allows you to chart and export your data in excel which can be easily copied to PowerPoint.
On a personal note though, I would suggest you use Google Chart Tools or RaphaelJS.
If you want to be able to use the Chart in PowerPoint, you can easily export Google Charts Data to Excel (CSV). Also see this example.
If you are presenting Google Analytics specifically, you should read this document on how to create an accurate automatically updated Chart and Data in PowerPoint from Google Analytics. It basically uses the oomfo plugin for PowerPoint.
Alternatively, there are paid solutions like ShufflePoint for this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With