PHP Powerpoint and Charts

charts, php, powerpoint

Solution

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.

Problem

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

Original source